You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing a flag to a Nomad CLI command, which is not defined for use, the output error is inconsistency placed and is also concatenated onto the command usage output. The error will sometimes appear before the command usage, and sometimes after. Both examples are shown below.
Example 1:
$ nomad server members -verbose
flag provided but not defined: -verboseUsage: nomad server members [options]
Example 2 (output shortened):
$ nomad node status -detailed
...
...
-t
Format and display node using a Go template.flag provided but not defined: -detailed
Reproduction steps
A couple of commands using incorrect flags: nomad node status -detailed nomad server members -verbose
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Nomad v0.10.2
Operating system and Environment details
Tested on
macOS Catalina 10.15.1
Issue
When passing a flag to a Nomad CLI command, which is not defined for use, the output error is inconsistency placed and is also concatenated onto the command usage output. The error will sometimes appear before the command usage, and sometimes after. Both examples are shown below.
Example 1:
Example 2 (output shortened):
Reproduction steps
A couple of commands using incorrect flags:
nomad node status -detailed
nomad server members -verbose
The text was updated successfully, but these errors were encountered: