fish-shell/share/completions/xargs.fish
npilon 04cf08b93b xargs completion fix
Added a missing -d to a couple of xargs completions.

darcs-hash:20060313014433-c90d9-b7c6e444ecea0ed2e75304bd9663d20ea55df0ff.gz
2006-03-13 11:44:33 +10:00

20 lines
1.6 KiB
Fish

#
#Completions for xargs
#
complete -c xargs -s 0 -l null -d (N_ "Input filenames are terminated by a null character instead of by whitespace, and the quotes and backslash are not special")
complete -c xargs -s e -l eof -d (N_ "Set the end of file string to eof-str")
complete -c xargs -s E -r -f -d (N_ "Set the end of file string to eof-str")
complete -c xargs -l help -d (N_ "Display help and exit")
complete -c xargs -s i -l replace -d (N_ "Replace replace-str in the initial arguments with names from standard input")
complete -c xargs -s I -r -f -d (N_ "Replace replace-str in the initial arguments with names from standard input")
complete -c xargs -s l -l max-lines -d (N_ "Use at most max-lines nonblank input lines per command line")
complete -c xargs -s L -r -f -d (N_ "Use at most max-lines nonblank input lines per command line")
complete -c xargs -s n -l max-args -r -f -d (N_ "Use at most max-args arguments per command line")
complete -c xargs -s p -l interactive -d (N_ "Prompt the user about whether to run each command line and read a line from the terminal")
complete -c xargs -s r -l no-run-if-empty -d (N_ "If the standard input does not contain any nonblanks, do not run the command")
complete -c xargs -s s -l max-chars -r -f -d (N_ "Use at most max-chars characters per command line")
complete -c xargs -s t -l verbose -d (N_ "Print the command line on the standard error output before executing it")
complete -c xargs -l version -d (N_ "Display version and exit")
complete -c xargs -s x -l exit -d (N_ "Exit if the size is exceeded")
complete -c xargs -s P -l max-procs -r -f -d (N_ "Run up to max-procs processes at a time")