cmd/tailscale/cli: fix "subcommand required" errors when typod
Fixes #11672 Signed-off-by: Paul Scott <paul@tailscale.com>
This commit is contained in:
@@ -5,7 +5,6 @@ package cli
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
@@ -57,9 +56,6 @@ var driveCmd = &ffcli.Command{
|
||||
Exec: runDriveList,
|
||||
},
|
||||
},
|
||||
Exec: func(context.Context, []string) error {
|
||||
return errors.New("drive subcommand required; run 'tailscale drive -h' for details")
|
||||
},
|
||||
}
|
||||
|
||||
// runDriveShare is the entry point for the "tailscale drive share" command.
|
||||
|
||||
Reference in New Issue
Block a user