From 3785ad48c14c2ab9a8c55127b2f2a04cd8b30d6e Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 25 Sep 2018 02:57:35 -0700 Subject: Adding arg spec to bulk export. (#9453) --- cmd/mattermost/commands/export.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd') 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() { -- cgit v1.2.3-1-g7c22