6err () { echo "$*" | fold -s -w ${COLUMNS:-110} >&2; }
7errn () { printf "$*" | fold -s -w ${COLUMNS:-110} >&2; }
10 err "$1 - $2" # short description
11 err "See the $1(1) man page for usage."
16 oldifs="$IFS"; IFS=':'
18 if [ -x "$_p/$*" ] && [ -f "$_p/$*" ]; then
27for p in pandoc $REQUIRED; do
29 err "You need '$p' to use this program!"
34CONF=$(pandoc --dump-args "$@" 2>&1) || {
36 echo "$CONF" | sed -e '/^pandoc \[OPTIONS\] \[FILES\]/,$d' >&2
37 [ $errcode -eq 2 ] && usage "$THIS" "$SYNOPSIS"
41OUTPUT=$(echo "$CONF" | sed -ne '1p')
42ARGS=$(echo "$CONF" | sed -e '1d')
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list