cpio/man/cpio
Pavel Raiskup 2a3bb6a8a4 man: (re)generate by help2man
For more info see ./man/README file, it is done this way because
it is very easy to miss some new option to be documented.

Version: 2.12-2
2015-09-14 13:58:44 +02:00

17 lines
252 B
Bash
Executable File

#!/bin/bash
test -z "$cpio_binary" && {
echo >&2 "no \$cpio_binary set"
exit 1
}
case "$1" in
-h|--help)
$cpio_binary --help | sed 's/^ \([^[:space:]][^:]*\):\?$/\1:/'
;;
*)
$cpio_binary "$@"
;;
esac