aboutsummaryrefslogtreecommitdiffstats
path: root/src/test.bash
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/test.bash10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test.bash b/src/test.bash
index 5840e13..136439c 100755
--- a/src/test.bash
+++ b/src/test.bash
@@ -45,12 +45,12 @@ along with this library. If not, see <http://www.gnu.org/licenses/>.
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
-args_add_argumentless 0 '' ++hidden
+args_add_argumentless '' 0 'Prints this help message\n(and exits)' -h -? --help
+args_add_argumentless '' 0 'Prints the text: hello world' --hello
+args_add_argumentless '' 0 '' ++hidden
-args_add_argumented 0 LINE 'Prints the choosen line' -l --line
-args_add_variadic 0 LINE 'Prints the choosen lines' --l --lines
+args_add_argumented '' 0 LINE 'Prints the choosen line' -l --line
+args_add_variadic '' 0 LINE 'Prints the choosen lines' --l --lines
args_parse "$@"
args_support_alternatives