diff --git a/command/fs_cat.go b/command/fs_cat.go index 19418db92..c684273cb 100644 --- a/command/fs_cat.go +++ b/command/fs_cat.go @@ -22,10 +22,6 @@ func (f *FSCatCommand) Help() string { ` + generalOptionsUsage() + ` - - -short - Display short output. Shows only the most recent task event. - -verbose Show full information. ` @@ -37,10 +33,9 @@ func (f *FSCatCommand) Synopsis() string { } func (f *FSCatCommand) Run(args []string) int { - var short, verbose bool + var verbose bool flags := f.Meta.FlagSet("fs-list", FlagSetClient) flags.Usage = func() { f.Ui.Output(f.Help()) } - flags.BoolVar(&short, "short", false, "") flags.BoolVar(&verbose, "verbose", false, "") if err := flags.Parse(args); err != nil { diff --git a/command/fs_list.go b/command/fs_list.go index 6ce11d9ad..63c0a25ad 100644 --- a/command/fs_list.go +++ b/command/fs_list.go @@ -20,10 +20,6 @@ Usage: nomad fs-list ` + generalOptionsUsage() + ` - - -short - Display short output. Shows only the most recent task event. - -verbose Show full information. @@ -36,10 +32,9 @@ func (f *FSListCommand) Synopsis() string { } func (f *FSListCommand) Run(args []string) int { - var short, verbose bool + var verbose bool flags := f.Meta.FlagSet("fs-list", FlagSetClient) flags.Usage = func() { f.Ui.Output(f.Help()) } - flags.BoolVar(&short, "short", false, "") flags.BoolVar(&verbose, "verbose", false, "") if err := flags.Parse(args); err != nil { diff --git a/command/fs_stat.go b/command/fs_stat.go index 00de49ca3..19d580091 100644 --- a/command/fs_stat.go +++ b/command/fs_stat.go @@ -20,10 +20,6 @@ Usage: nomad fs-stat ` + generalOptionsUsage() + ` - - -short - Display short output. Shows only the most recent task event. - -verbose Show full information. ` @@ -35,10 +31,9 @@ func (f *FSStatCommand) Synopsis() string { } func (f *FSStatCommand) Run(args []string) int { - var short, verbose bool + var verbose bool flags := f.Meta.FlagSet("fs-list", FlagSetClient) flags.Usage = func() { f.Ui.Output(f.Help()) } - flags.BoolVar(&short, "short", false, "") flags.BoolVar(&verbose, "verbose", false, "") if err := flags.Parse(args); err != nil {