From 91a7639c3c05e440a65c1d6853714796d4c1b697 Mon Sep 17 00:00:00 2001 From: "Carrie Warner (Mattermost)" <74422101+cwarnermm@users.noreply.github.com> Date: Thu, 23 Nov 2023 08:58:34 -0500 Subject: [PATCH] Updated mmctl export create command flag (#25474) * Updated export create flag * Update server/cmd/mmctl/docs/mmctl_export_create.rst * Updated mmctl export create command flags --- server/cmd/mmctl/commands/export.go | 4 ++-- server/cmd/mmctl/docs/mmctl_export_create.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/cmd/mmctl/commands/export.go b/server/cmd/mmctl/commands/export.go index 6ee4443fd6..3cccb77e45 100644 --- a/server/cmd/mmctl/commands/export.go +++ b/server/cmd/mmctl/commands/export.go @@ -99,8 +99,8 @@ func init() { _ = ExportCreateCmd.Flags().MarkHidden("attachments") _ = ExportCreateCmd.Flags().MarkDeprecated("attachments", "the tool now includes attachments by default. The flag will be removed in a future version.") - ExportCreateCmd.Flags().Bool("no-attachments", false, "Set to true to exclude file attachments in the export file.") - ExportCreateCmd.Flags().Bool("include-archived-channels", false, "Set to true to include archived channels in the export file.") + ExportCreateCmd.Flags().Bool("no-attachments", false, "Exclude file attachments from the export file.") + ExportCreateCmd.Flags().Bool("include-archived-channels", false, "Include archived channels in the export file.") ExportDownloadCmd.Flags().Bool("resume", false, "Set to true to resume an export download.") _ = ExportDownloadCmd.Flags().MarkHidden("resume") diff --git a/server/cmd/mmctl/docs/mmctl_export_create.rst b/server/cmd/mmctl/docs/mmctl_export_create.rst index 12de4fda9c..a52088e733 100644 --- a/server/cmd/mmctl/docs/mmctl_export_create.rst +++ b/server/cmd/mmctl/docs/mmctl_export_create.rst @@ -21,8 +21,8 @@ Options :: -h, --help help for create - --include-archived-channels Set to true to include archived channels in the export file. - --no-attachments Set to true to exclude file attachments in the export file. + --include-archived-channels Include archived channels in the export file. + --no-attachments Exclude file attachments from the export file. Options inherited from parent commands ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~