Fixing CMD docs. (#8827)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0432f995ec
Коммит
88a8703766
@@ -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() {
|
|||||||
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:
|
|||||||
{{.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}}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user