fish-shell/tests/fish_opt.out
Kurtis Rader a4dc2b872b implement fish_opt helper command
This implements a `fish_opt` command that provides a way for people
to create option specs for the `argparse` command as an alternative to
creating such strings by hand.

Fixes #4190
2017-07-12 22:38:32 -07:00

19 lines
446 B
Text

# bool, short only
h
# bool, short and long
h/help
# bool, short and long but the short var cannot be used
h-help
# required val, short and long but the short var cannot be used
h-help=
# optional val, short and long valid
h/help=?
# optional val, short and long but the short var cannot be used
h-help=?
# repeated val, short and long valid
h/help=+
# repeated val, short and long but short not valid
h-help=+
# repeated val, short only
h=+
h=+