summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2018-05-18 10:34:37 -0700
committerGitHub <noreply@github.com>2018-05-18 10:34:37 -0700
commit88a8703766c422d69d061854269b926c9d3ae4b1 (patch)
treefcf8f4d0aa574dcf03d4adbb9f51a9b6f6106ad4 /cmd
parent0432f995ec27de9ee6cc2f5847d4a17fcc095a26 (diff)
downloadchat-88a8703766c422d69d061854269b926c9d3ae4b1.tar.gz
chat-88a8703766c422d69d061854269b926c9d3ae4b1.tar.bz2
chat-88a8703766c422d69d061854269b926c9d3ae4b1.zip
Fixing CMD docs. (#8827)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mattermost/commands/root.go2
-rw-r--r--cmd/mattermost/commands/user.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/mattermost/commands/root.go b/cmd/mattermost/commands/root.go
index 7ae439161..725f394f6 100644
--- a/cmd/mattermost/commands/root.go
+++ b/cmd/mattermost/commands/root.go
@@ -15,7 +15,7 @@ func Run(args []string) error {
}
var RootCmd = &cobra.Command{
- Use: "platform",
+ Use: "mattermost",
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`,
}
diff --git a/cmd/mattermost/commands/user.go b/cmd/mattermost/commands/user.go
index ebcebcce8..373fe7463 100644
--- a/cmd/mattermost/commands/user.go
+++ b/cmd/mattermost/commands/user.go
@@ -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("dryRun", false, "Run a simulation of the migration process without changing the database.")
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:
{{.Example}}
@@ -194,7 +194,7 @@ Global Flags:
{{.InheritedFlags.FlagUsages | trimTrailingWhitespaces}}
`)
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:
{{.Example}}