Use all-caps for metasyntactic arguments

This commit is contained in:
John Gardiner Myers 2021-07-03 23:00:41 -07:00
parent e3451030ff
commit 75f3974f47
8 changed files with 8 additions and 8 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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

View File

@ -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

View File

@ -6,7 +6,7 @@
Get one or many keypairs.
```
kops get keypairs [keyset]... [flags]
kops get keypairs [KEYSET]... [flags]
```
### Examples

View File

@ -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