mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-07 06:22:17 -04:00
cli: format UI strings as suggested by cobra
This commit is contained in:
parent
a879043f03
commit
19bd097864
7 changed files with 23 additions and 23 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "constellation",
|
||||
Short: "Set up your Constellation cluster.",
|
||||
Short: "Set up your Constellation cluster",
|
||||
Long: "Set up your Constellation cluster.",
|
||||
SilenceUsage: true,
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ func init() {
|
|||
cobra.EnableCommandSorting = false
|
||||
// Set output of cmd.Print to stdout. (By default, it's stderr.)
|
||||
rootCmd.SetOut(os.Stdout)
|
||||
rootCmd.PersistentFlags().String("dev-config", "", "Set this flag to create the Constellation cluster using settings from a development config.")
|
||||
rootCmd.PersistentFlags().String("dev-config", "", "create the Constellation cluster using settings from a development config")
|
||||
must(rootCmd.MarkPersistentFlagFilename("dev-config", "json"))
|
||||
rootCmd.AddCommand(newCreateCmd())
|
||||
rootCmd.AddCommand(newInitCmd())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue