diff --git a/cli/command_block_index_list.go b/cli/command_block_index_list.go index a4093ad2c..bb67c5e4a 100644 --- a/cli/command_block_index_list.go +++ b/cli/command_block_index_list.go @@ -9,7 +9,7 @@ import ( ) var ( - blockIndexListCommand = blockIndexCommands.Command("list", "List block indexes").Alias("ls") + blockIndexListCommand = blockIndexCommands.Command("list", "List block indexes").Alias("ls").Default() blockIndexListAll = blockIndexListCommand.Flag("all", "List all blocks, not just active ones").Short('a').Bool() blockIndexListSummary = blockIndexListCommand.Flag("summary", "Display block summary").Bool() ) diff --git a/cli/command_manifest_ls.go b/cli/command_manifest_ls.go index facc76abf..696365b5f 100644 --- a/cli/command_manifest_ls.go +++ b/cli/command_manifest_ls.go @@ -9,7 +9,7 @@ import ( ) var ( - manifestListCommand = manifestCommands.Command("list", "List manifest items").Alias("ls") + manifestListCommand = manifestCommands.Command("list", "List manifest items").Alias("ls").Default() manifestListPrefix = manifestListCommand.Flag("prefix", "Prefix").String() manifestListFilter = manifestListCommand.Flag("filter", "List of key:value pairs").Strings() manifestListSort = manifestListCommand.Flag("sort", "List of keys to sort by").Strings() diff --git a/cli/command_snapshot_create.go b/cli/command_snapshot_create.go index 56562602e..36ed3d19c 100644 --- a/cli/command_snapshot_create.go +++ b/cli/command_snapshot_create.go @@ -27,7 +27,7 @@ const ( ) var ( - snapshotCreateCommand = snapshotCommands.Command("create", "Creates a snapshot of local directory or file.") + snapshotCreateCommand = snapshotCommands.Command("create", "Creates a snapshot of local directory or file.").Default() snapshotCreateSources = snapshotCreateCommand.Arg("source", "Files or directories to create snapshot(s) of.").ExistingFilesOrDirs() snapshotCreateAll = snapshotCreateCommand.Flag("all", "Create snapshots for files or directories previously backed up by this user on this computer").Bool()