#!/bin/sh # # Copyright (c) 2007 Johannes Schindelin # test_description='our own option parser' . ./test-lib.sh cat >expect <<\EOF usage: test-parse-options --yes get a boolean -D, --no-doubt begins with 'no-' -B, --no-fear be brave -b, --boolean increment by one -4, --or4 bitwise-or boolean with ...0100 --neg-or4 same as --no-or4 -i, --integer get a integer -j get a integer, too -m, --magnitude get a magnitude --set23 set integer to 23 -t