aboutsummaryrefslogtreecommitdiffstats
path: root/src/test.bash
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-18 15:25:38 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-18 15:25:38 +0200
commit034ca0d1e48c556cf68506e3cf898f88f7c5bb80 (patch)
treeb8c39a302b1126f1d0faf283fb3582c00177c677 /src/test.bash
parentimplement colour settings in java version (diff)
downloadargparser-034ca0d1e48c556cf68506e3cf898f88f7c5bb80.tar.gz
argparser-034ca0d1e48c556cf68506e3cf898f88f7c5bb80.tar.bz2
argparser-034ca0d1e48c556cf68506e3cf898f88f7c5bb80.tar.xz
implement colour settings for help in bash version
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/test.bash')
-rwxr-xr-xsrc/test.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.bash b/src/test.bash
index 357fcc1..5840e13 100755
--- a/src/test.bash
+++ b/src/test.bash
@@ -43,7 +43,7 @@ along with this library. If not, see <http://www.gnu.org/licenses/>.
)
-args_init 'A test for argparser' 'test [options] [files]' "$long" '' 2
+args_init 'A test for argparser' 'test [options] [files]' "$long" '' 1
args_add_argumentless 0 'Prints this help message\n(and exits)' -h -? --help
args_add_argumentless 0 'Prints the text: hello world' --hello