summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2018-09-25 02:57:35 -0700
committerGeorge Goldberg <george@gberg.me>2018-09-25 10:57:35 +0100
commit3785ad48c14c2ab9a8c55127b2f2a04cd8b30d6e (patch)
treecbce159146cd4bc721de4cc94a94c88b4a4877ca /cmd
parenta4ae404473945cecb0d00cb44a3c36232796efae (diff)
downloadchat-3785ad48c14c2ab9a8c55127b2f2a04cd8b30d6e.tar.gz
chat-3785ad48c14c2ab9a8c55127b2f2a04cd8b30d6e.tar.bz2
chat-3785ad48c14c2ab9a8c55127b2f2a04cd8b30d6e.zip
Adding arg spec to bulk export. (#9453)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mattermost/commands/export.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/mattermost/commands/export.go b/cmd/mattermost/commands/export.go
index bd311e154..1d8eaeb29 100644
--- a/cmd/mattermost/commands/export.go
+++ b/cmd/mattermost/commands/export.go
@@ -51,6 +51,7 @@ var BulkExportCmd = &cobra.Command{
Long: "Export data to a file compatible with the Mattermost Bulk Import format.",
Example: " export bulk bulk_data.json",
RunE: bulkExportCmdF,
+ Args: cobra.ExactArgs(1),
}
func init() {