mirror of https://github.com/kubernetes/kops.git
Use all-caps for metasyntactic arguments
This commit is contained in:
parent
e3451030ff
commit
75f3974f47
|
|
@ -94,7 +94,7 @@ func NewCmdCreateKeypair(f *util.Factory, out io.Writer) *cobra.Command {
|
|||
options := &CreateKeypairOptions{}
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "keypair keyset",
|
||||
Use: "keypair KEYSET",
|
||||
Short: createKeypairShort,
|
||||
Long: createKeypairLong,
|
||||
Example: createKeypairExample,
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ func NewCmdDistrustKeypair(f *util.Factory, out io.Writer) *cobra.Command {
|
|||
options := &DistrustKeypairOptions{}
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "keypair keyset [id]...",
|
||||
Use: "keypair KEYSET [ID]...",
|
||||
Short: distrustKeypairShort,
|
||||
Long: distrustKeypairLong,
|
||||
Example: distrustKeypairExample,
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ func NewCmdGetKeypairs(f *util.Factory, out io.Writer, getOptions *GetOptions) *
|
|||
GetOptions: getOptions,
|
||||
}
|
||||
cmd := &cobra.Command{
|
||||
Use: "keypairs [keyset]...",
|
||||
Use: "keypairs [KEYSET]...",
|
||||
Aliases: []string{"keypair"},
|
||||
Short: getKeypairShort,
|
||||
Example: getKeypairExample,
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ func NewCmdPromoteKeypair(f *util.Factory, out io.Writer) *cobra.Command {
|
|||
options := &PromoteKeypairOptions{}
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "keypair keyset [id]",
|
||||
Use: "keypair KEYSET [ID]",
|
||||
Short: promoteKeypairShort,
|
||||
Long: promoteKeypairLong,
|
||||
Example: promoteKeypairExample,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ Add a CA certificate and private key to a keyset.
|
|||
One of the certificate/private key pairs in each keyset must be primary. The primary keypair is the one used to issue certificates (or, for the "service-account" keyset, service-account tokens). As a consequence, the first entry in a keyset must be made primary.
|
||||
|
||||
```
|
||||
kops create keypair keyset [flags]
|
||||
kops create keypair KEYSET [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Distrust one or more keypairs in a keyset.
|
|||
If no keypair IDs are specified, distrusts all keypairs in the keyset that are older than the primary keypair.
|
||||
|
||||
```
|
||||
kops distrust keypair keyset [id]... [flags]
|
||||
kops distrust keypair KEYSET [ID]... [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
Get one or many keypairs.
|
||||
|
||||
```
|
||||
kops get keypairs [keyset]... [flags]
|
||||
kops get keypairs [KEYSET]... [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Promote a keypair to be the primary, used for signing.
|
|||
Promote a keypair to be the primary, used for signing.
|
||||
|
||||
```
|
||||
kops promote keypair keyset [id] [flags]
|
||||
kops promote keypair KEYSET [ID] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
|
|
|||
Loading…
Reference in New Issue