Home | History | Annotate | Download | only in stdlib

Lines Matching defs:h_getopt

28 h_getopt()
30 atf_check -e save:stderr -x "$(atf_get_srcdir)/h_getopt" <<EOF
59 h_getopt "${load}" "foo -c 1 -d foo" "c=1,d|1"
60 h_getopt "${load}" "foo -d foo bar" "d|2"
61 h_getopt "${load}" "foo -c 2 foo bar" "c=2|2"
62 h_getopt "${load}" "foo -e 1 foo bar" "!?|3"
63 h_getopt "${load}" "foo -d -- -c 1" "d|2"
64 h_getopt "${load}" "foo -c- 1" "c=-|1"
65 h_getopt "${load}" "foo -d - 1" "d|2"
75 h_getopt "o::" "foo -o" "o=(null)|0"
76 h_getopt "o::" "foo -o1 2" "o=1|1"
77 h_getopt "o::" "foo -o 1 2" "o=(null)|2"