Unverified Commit 88a87037 authored by Christopher Speller's avatar Christopher Speller Committed by GitHub

Fixing CMD docs. (#8827)

parent 0432f995
...@@ -15,7 +15,7 @@ func Run(args []string) error { ...@@ -15,7 +15,7 @@ func Run(args []string) error {
} }
var RootCmd = &cobra.Command{ var RootCmd = &cobra.Command{
Use: "platform", Use: "mattermost",
Short: "Open source, self-hosted Slack-alternative", Short: "Open source, self-hosted Slack-alternative",
Long: `Mattermost offers workplace messaging across web, PC and phones with archiving, search and integration with your existing systems. Documentation available at https://docs.mattermost.com`, Long: `Mattermost offers workplace messaging across web, PC and phones with archiving, search and integration with your existing systems. Documentation available at https://docs.mattermost.com`,
} }
......
...@@ -170,7 +170,7 @@ func init() { ...@@ -170,7 +170,7 @@ func init() {
MigrateAuthCmd.Flags().Bool("auto", false, "Automatically migrate all users. Assumes the usernames and emails are identical between Mattermost and SAML services. (saml only)") MigrateAuthCmd.Flags().Bool("auto", false, "Automatically migrate all users. Assumes the usernames and emails are identical between Mattermost and SAML services. (saml only)")
MigrateAuthCmd.Flags().Bool("dryRun", false, "Run a simulation of the migration process without changing the database.") MigrateAuthCmd.Flags().Bool("dryRun", false, "Run a simulation of the migration process without changing the database.")
MigrateAuthCmd.SetUsageTemplate(`Usage: MigrateAuthCmd.SetUsageTemplate(`Usage:
platform user migrate_auth [from_auth] [to_auth] [migration-options] [flags] mattermost user migrate_auth [from_auth] [to_auth] [migration-options] [flags]
Examples: Examples:
{{.Example}} {{.Example}}
...@@ -194,7 +194,7 @@ Global Flags: ...@@ -194,7 +194,7 @@ Global Flags:
{{.InheritedFlags.FlagUsages | trimTrailingWhitespaces}} {{.InheritedFlags.FlagUsages | trimTrailingWhitespaces}}
`) `)
MigrateAuthCmd.SetHelpTemplate(`Usage: MigrateAuthCmd.SetHelpTemplate(`Usage:
platform user migrate_auth [from_auth] [to_auth] [migration-options] [flags] mattermost user migrate_auth [from_auth] [to_auth] [migration-options] [flags]
Examples: Examples:
{{.Example}} {{.Example}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment