Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KIT-CA
dfnpkitool
Commits
bff3ba53
Commit
bff3ba53
authored
Apr 24, 2018
by
Heiko Reese
Browse files
Typos
parent
e93306c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
cmd/request.go
View file @
bff3ba53
...
...
@@ -358,7 +358,7 @@ func init() {
requestCmd
.
Flags
()
.
StringVar
(
&
globalArgs
.
State
,
"state"
,
""
,
"Set »ST« (state) part of distinguished name"
)
requestCmd
.
Flags
()
.
StringVar
(
&
globalArgs
.
Country
,
"country"
,
""
,
"Set »C« (country) part of distinguished name"
)
requestCmd
.
Flags
()
.
StringSliceVar
(
&
globalArgs
.
SANDNS
,
"dns"
,
nil
,
"Add »
SAN
DNS« (hostname or domain name) Subject Alternative Name(s)"
)
requestCmd
.
Flags
()
.
StringSliceVar
(
&
globalArgs
.
SANDNS
,
"dns"
,
nil
,
"Add »DNS« (hostname or domain name) Subject Alternative Name(s)"
)
requestCmd
.
Flags
()
.
StringSliceVar
(
&
globalArgs
.
SANIP
,
"ip"
,
nil
,
"Add »IP« (ip address) Subject Alternative Name(s)"
)
requestCmd
.
Flags
()
.
StringSliceVar
(
&
globalArgs
.
SANURI
,
"uri"
,
nil
,
"Add »URI« Subject Alternative Name(s)"
)
requestCmd
.
Flags
()
.
StringSliceVar
(
&
globalArgs
.
SANEmail
,
"email"
,
nil
,
"Add »email« Subject Alternative Name(s)"
)
...
...
cmd/root.go
View file @
bff3ba53
...
...
@@ -99,7 +99,7 @@ func init() {
cobra
.
OnInitialize
(
initConfig
)
rootCmd
.
Flags
()
.
SortFlags
=
false
rootCmd
.
PersistentFlags
()
.
StringVar
(
&
cfgFile
,
"config"
,
""
,
"config file (default is $HOME/.config/
.
dfnpkitool.toml)"
)
rootCmd
.
PersistentFlags
()
.
StringVar
(
&
cfgFile
,
"config"
,
""
,
"config file (default is $HOME/.config/dfnpkitool.
{
toml
,yaml,json}
)"
)
rootCmd
.
PersistentFlags
()
.
StringVarP
(
&
globalArgs
.
CAName
,
"ca"
,
"C"
,
""
,
"Certification Authority identifier"
)
rootCmd
.
PersistentFlags
()
.
IntVarP
(
&
globalArgs
.
RAId
,
"ra-id"
,
"R"
,
0
,
"Sub-RA identifier (usually 0 for main RA)"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment