summaryrefslogtreecommitdiffstats
path: root/cmd/mattermost/commands/export.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mattermost/commands/export.go')
-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() {