Skip to content

Commit

Permalink
cleanup: nicer looking doc messages
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonTheLeg committed Oct 30, 2022
1 parent dfa315c commit 8ad0336
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions cmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ func newDeleteCommand() *deleteCmd {
Short: "Delete kubeconfig",
Long: `Delete one or multiple kubeconfigs
Examples:
-> 'delete' run selection prompt for deletion
-> 'delete <konfig id> [<konfig id 2>]' delete specific konf(s)
-> 'delete "my-konf*"' delete konf matching fileglob
`,
Examples:
-> 'delete' run selection prompt for deletion
-> 'delete <konfig id> [<konfig id 2>]' delete specific konf(s)
-> 'delete "my-konf*"' delete konf matching fileglob
`,
RunE: dc.delete,
ValidArgsFunction: dc.completeDelete,
}
Expand Down
4 changes: 2 additions & 2 deletions cmd/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ func newNamespaceCmd() *namespaceCmd {
Can also be invoked via 'ns' alias
Examples:
-> 'ns' run namespace selection
-> 'ns <namespace-name' set to a specific namespace
-> 'ns' run namespace selection
-> 'ns <namespace-name' set to a specific namespace
`,
RunE: cc.namespace,
Args: cobra.MaximumNArgs(1),
Expand Down
10 changes: 5 additions & 5 deletions cmd/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ func newSetCommand() *setCmd {
Args: cobra.MaximumNArgs(1),
Long: `Sets kubeconfig to use or start picker dialogue.
Examples:
-> 'set' run konf selection
-> 'set <konfig id>' set a specific konf
-> 'set -' set to last used konf
`,
Examples:
-> 'set' run konf selection
-> 'set <konfig id>' set a specific konf
-> 'set -' set to last used konf
`,
RunE: sc.set,
ValidArgsFunction: sc.completeSet,
}
Expand Down

0 comments on commit 8ad0336

Please sign in to comment.