Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
support create alias and key stores
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Dec 9, 2019
1 parent 8b5a488 commit ae45472
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cmd/developers/getdevapps/getdevapps.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ func init() {

Cmd.Flags().StringVarP(&name, "name", "n",
"", "email of the developer")

Cmd.Flags().BoolVarP(&expand, "expand", "x",
false, "expand app details")
false, "expand app details")

_ = Cmd.MarkFlagRequired("org")
_ = Cmd.MarkFlagRequired("name")
Expand Down
4 changes: 2 additions & 2 deletions cmd/keyaliases/crtka/crtka.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var Cmd = &cobra.Command{
_, err = shared.PostHttpOctet(true, u.String(), aliasName+".pem")
} else if format == "pkcs12" {
_, err = shared.PostHttpOctet(true, u.String(), aliasName+".pfx")
}
}
return
},
}
Expand All @@ -62,7 +62,7 @@ func init() {
Cmd.Flags().StringVarP(&format, "format", "f",
"", "Format of the certificate")
Cmd.Flags().StringVarP(&password, "password", "p",
"", "PKCS12 password")
"", "PKCS12 password")
Cmd.Flags().BoolVarP(&ignoreExpiry, "exp", "x",
false, "Ignore expiry validation")
Cmd.Flags().BoolVarP(&ignoreNewLine, "nl", "w",
Expand Down
2 changes: 1 addition & 1 deletion cmd/keystores/crtks/crtks.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ func init() {
"", "Name of the key store")

_ = Cmd.MarkFlagRequired("name")
}
}

0 comments on commit ae45472

Please sign in to comment.