document namespace option in CLI docs

This commit is contained in:
Mahmood Ali 2020-07-01 15:31:41 -04:00
parent 68ec45dd0f
commit 1917989a1f
2 changed files with 7 additions and 0 deletions

View File

@ -177,6 +177,8 @@ func generalOptionsUsage() string {
-namespace=<namespace>
The target namespace for queries and actions bound to a namespace.
Overrides the NOMAD_NAMESPACE environment variable if set.
If set to '*', job and alloc subcommands query all namespacecs authorized
to user.
Defaults to the "default" namespace.
-no-color

View File

@ -5,6 +5,11 @@
Overrides the `NOMAD_REGION` environment variable if set. Defaults to the
Agent's local region.
- `-namespace=<namespace>`: The target namespace for queries and actions bound
to a namespace. Overrides the NOMAD_NAMESPACE environment variable if set.
If set to '*', job and alloc subcommands query all namespacecs authorized to
user. Defaults to the "default" namespace.
- `-no-color`: Disables colored command output. Alternatively,
`NOMAD_CLI_NO_COLOR` may be set.