-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flux-job: improve flux job info usage message
Problem: the flux job info usage message is not output if the job id is not specified, and is not reached if flux_open() fails. In preparation for deprecating multi-key support, make the following changes to the free argument parsing and usage message processing: - check the arguments before flux_open() - require exactly one key - print the usage message even if the job id is not specified - update usage message to reflect that only one key is accepted - add key descriptions to the usage message Update sharness test that checks usage message content.
- Loading branch information
Showing
2 changed files
with
28 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters