aboutsummaryrefslogtreecommitdiffstats
path: root/src/test.bash
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-27 19:45:40 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-27 19:45:40 +0200
commit76281ad2d2ec1882a129137a45791a6cd3418f0e (patch)
tree71b0b77e7e4a4ab3cfd1576b7096815ddd7b7380 /src/test.bash
parentissue 7, python version (diff)
downloadargparser-76281ad2d2ec1882a129137a45791a6cd3418f0e.tar.gz
argparser-76281ad2d2ec1882a129137a45791a6cd3418f0e.tar.bz2
argparser-76281ad2d2ec1882a129137a45791a6cd3418f0e.tar.xz
issue 7, bash version
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-xsrc/test.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.bash b/src/test.bash
index 3f45bae..fc44eec 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" '' 1
+args_init 'A test for argparser' 'test [options] [files]' "$long" '' 1 0 args_standard_abbreviations
args_add_argumentless '' 0 'Prints this help message\n(and exits)' -h -? --help
args_add_argumentless '' 0 'Prints the text: hello world' --hello