diff --git a/command/fs_ls.go b/command/fs_ls.go index c1486722a..44b667117 100644 --- a/command/fs_ls.go +++ b/command/fs_ls.go @@ -13,7 +13,7 @@ func (f *FSListCommand) Help() string { helpText := ` Usage: nomad fs-ls - Ls displays the contents of the allocation directory for the passed allocation. The path + ls displays the contents of the allocation directory for the passed allocation. The path is relative to the root of the alloc dir and defaults to root if unspecified. General Options: diff --git a/commands.go b/commands.go index 0280c6c57..1b69883c8 100644 --- a/commands.go +++ b/commands.go @@ -57,17 +57,17 @@ func Commands(metaPtr *command.Meta) map[string]cli.CommandFactory { Meta: meta, }, nil }, - "fs-list": func() (cli.Command, error) { + "fs ls": func() (cli.Command, error) { return &command.FSListCommand{ Meta: meta, }, nil }, - "fs-stat": func() (cli.Command, error) { + "fs stat": func() (cli.Command, error) { return &command.FSStatCommand{ Meta: meta, }, nil }, - "fs-cat": func() (cli.Command, error) { + "fs cat": func() (cli.Command, error) { return &command.FSCatCommand{ Meta: meta, }, nil