mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-03 06:45:49 +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,
|
ShortUsage: driveShareUsage,
|
||||||
Exec: runDriveShare,
|
Exec: runDriveShare,
|
||||||
ShortHelp: "[ALPHA] create or modify a share",
|
ShortHelp: "[ALPHA] create or modify a share",
|
||||||
UsageFunc: usageFunc,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "rename",
|
Name: "rename",
|
||||||
ShortUsage: driveRenameUsage,
|
ShortUsage: driveRenameUsage,
|
||||||
ShortHelp: "[ALPHA] rename a share",
|
ShortHelp: "[ALPHA] rename a share",
|
||||||
Exec: runDriveRename,
|
Exec: runDriveRename,
|
||||||
UsageFunc: usageFunc,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "unshare",
|
Name: "unshare",
|
||||||
ShortUsage: driveUnshareUsage,
|
ShortUsage: driveUnshareUsage,
|
||||||
ShortHelp: "[ALPHA] remove a share",
|
ShortHelp: "[ALPHA] remove a share",
|
||||||
Exec: runDriveUnshare,
|
Exec: runDriveUnshare,
|
||||||
UsageFunc: usageFunc,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "list",
|
Name: "list",
|
||||||
ShortUsage: driveListUsage,
|
ShortUsage: driveListUsage,
|
||||||
ShortHelp: "[ALPHA] list current shares",
|
ShortHelp: "[ALPHA] list current shares",
|
||||||
Exec: runDriveList,
|
Exec: runDriveList,
|
||||||
UsageFunc: usageFunc,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Exec: func(context.Context, []string) error {
|
Exec: func(context.Context, []string) error {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user