mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-24 10:10:59 +00:00
cmd/tailscale/cli: remove explicit usageFunc - its default
Updates #cleanup Signed-off-by: Paul Scott <paul@tailscale.com>
This commit is contained in:
parent
a50e4e604e
commit
eb34b8a173
@ -37,28 +37,24 @@ var driveCmd = &ffcli.Command{
|
||||
ShortUsage: driveShareUsage,
|
||||
Exec: runDriveShare,
|
||||
ShortHelp: "[ALPHA] create or modify a share",
|
||||
UsageFunc: usageFunc,
|
||||
},
|
||||
{
|
||||
Name: "rename",
|
||||
ShortUsage: driveRenameUsage,
|
||||
ShortHelp: "[ALPHA] rename a share",
|
||||
Exec: runDriveRename,
|
||||
UsageFunc: usageFunc,
|
||||
},
|
||||
{
|
||||
Name: "unshare",
|
||||
ShortUsage: driveUnshareUsage,
|
||||
ShortHelp: "[ALPHA] remove a share",
|
||||
Exec: runDriveUnshare,
|
||||
UsageFunc: usageFunc,
|
||||
},
|
||||
{
|
||||
Name: "list",
|
||||
ShortUsage: driveListUsage,
|
||||
ShortHelp: "[ALPHA] list current shares",
|
||||
Exec: runDriveList,
|
||||
UsageFunc: usageFunc,
|
||||
},
|
||||
},
|
||||
Exec: func(context.Context, []string) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user