cmd/tailscale/cli: remove explicit usageFunc - its default

Updates #cleanup

Signed-off-by: Paul Scott <paul@tailscale.com>
pull/11772/head
Paul Scott 7 months ago committed by Paul Scott
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…
Cancel
Save