diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-11-02 22:32:48 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-11-02 22:33:04 +0100 |
commit | 9a2bef433271cd830d318e5b17efc38ac74e34a3 (patch) | |
tree | 80edc95fe716dcc2589b6212362536e434dc147d /README.md | |
parent | 7f9da0f4ea465bd15572ea4c2b063fe4f66d7c8f (diff) | |
download | xe-9a2bef433271cd830d318e5b17efc38ac74e34a3.tar.gz xe-9a2bef433271cd830d318e5b17efc38ac74e34a3.tar.xz xe-9a2bef433271cd830d318e5b17efc38ac74e34a3.zip |
-R to fail when no arguments are passed
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md index 1940209..631d590 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,13 @@ Over apply: ## Usage: - xe [-0knv] [-I arg] [-N maxargs] [-j maxjobs] COMMAND... + xe [-0Rknv] [-I arg] [-N maxargs] [-j maxjobs] COMMAND... | -s SHELLSCRIPT | -a COMMAND... -- ARGS... | -A ARGSEP COMMAND... ARGSEP ARGS... * `-0`: input filenames are seperated by NUL bytes (default: newlines). +* `-R`: return with status 122 when no arguments have been passed. * `-k`: keep going: don't stop when a command failed to execute. * `-n`: don't run the commands, just print them. * `-v`: print commands before running them. @@ -55,6 +56,9 @@ Like GNU and OpenBSD xargs: * 127 if the command is not found * 1 if some other error occurred. +Additionally, 122 is returned when `-R` is passed and no +input/arguments were passed. + ## Installation Use `make all` to build, `make install` to install relative to `PREFIX` |