-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix usage strings for #5692 #7303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
runcon requires a context command. Update usage string to match GNU behavior.
unlink must either take an option or a file. Update usage string to match GNU behavior.
hashsum requires a --<digest> and may accept multiple options.
|
Just noticed |
|
Added |
`[` alone is not a valid test command. `test` alone is a valid test command. `]` alone is not a valid test command. Update usage string to match GNU behavior.
3350345 to
55502cb
Compare
I think it is legit :) test can be symlink to [ if [ foo ]; then |
|
GNU testsuite comparison: |
|
@sylvestre While true, I think you misunderstood me. I'm not saying Neither Bash nor uutil will accept only
|
|
I figured out how to disable the And then it can be checked with: uutils, Bash, and GNU So, it's only uutil's documentation that's inconsistent |
Went through the list in #5692 and found inconsistencies for unlink, runcon, test, and hashsum.
runconuutils:but
runconrequires a context command to function:unlinkuutils:but
unlinkrequires a file to unlink:hashsum:but
hashsumrequires a digest to operate and may take multiple options:testuutils:but:
[alone is not a valid test command:testalone is a valid test command.]alone is not a valid test command.As appropriate, this matches GNU behavior.