feat(lss): adds --no-header and --short flags, and lowercases all flag descriptions
This commit is contained in:
parent
4e5064d07a
commit
15c1d6733c
22 changed files with 161 additions and 84 deletions
|
|
@ -70,8 +70,8 @@ func identityRun(cmd *cobra.Command, args []string) error {
|
|||
}
|
||||
|
||||
func init() {
|
||||
identityCmd.Flags().Bool("new", false, "Generate a new identity (errors if one already exists)")
|
||||
identityCmd.Flags().Bool("path", false, "Print only the identity file path")
|
||||
identityCmd.Flags().Bool("new", false, "generate a new identity (errors if one already exists)")
|
||||
identityCmd.Flags().Bool("path", false, "print only the identity file path")
|
||||
identityCmd.MarkFlagsMutuallyExclusive("new", "path")
|
||||
rootCmd.AddCommand(identityCmd)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue