Debian Codegraph @

debian/adhoc/wrappers/python3/cmark-bkrs

raw
1 #!/bin/sh
2 ## ad hoc wrapper to feed help2man(1)
3 set -e
4 WRAPPERDIR=${0%/*}
5 PYTHON_VERSION_MAJOR=${WRAPPERDIR##*/python}
6 case ${PYTHON_VERSION_MAJOR} in 2|3):;; *) exit 1 ;; esac
7 WRAPPEE=build/scripts-${PYTHON_VERSION_MAJOR}/cmark-bkrs
8 [ -x $WRAPPEE ] || exit 1
9 $WRAPPEE $@ | sed -e 's|usage\:|Usage\:|;s|positional arguments\:|\*Input Files\*|;s|optional arguments\:|Options\:|'
10 exit 0
11 ## eow