mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-20 06:32:01 +00:00
cmd/tailscale/cli: fix "subcommand required" errors when typod
Fixes #11672 Signed-off-by: Paul Scott <paul@tailscale.com>
This commit is contained in:
@@ -44,12 +44,6 @@ var fileCmd = &ffcli.Command{
|
||||
fileCpCmd,
|
||||
fileGetCmd,
|
||||
},
|
||||
Exec: func(context.Context, []string) error {
|
||||
// TODO(bradfitz): is there a better ffcli way to
|
||||
// annotate subcommand-required commands that don't
|
||||
// have an exec body of their own?
|
||||
return errors.New("file subcommand required; run 'tailscale file -h' for details")
|
||||
},
|
||||
}
|
||||
|
||||
type countingReader struct {
|
||||
|
Reference in New Issue
Block a user