fish-shell/tests/fish_opt.err

49 lines
1.3 KiB
Plaintext
Raw Normal View History

####################
# No args is an error
fish_opt: The --short flag is required and must be a single character
####################
# No short flag or an invalid short flag is an error
fish_opt: The --short flag is required and must be a single character
fish_opt: The --short flag is required and must be a single character
####################
# A required and optional arg makes no sense
fish_opt: Mutually exclusive flags 'o/optional-val' and `r/required-val` seen
####################
# A repeated and optional arg makes no sense
fish_opt: Mutually exclusive flags 'multiple-vals' and `o/optional-val` seen
####################
# An unexpected arg not associated with a flag is an error
fish_opt: Expected at most 0 args, got 1
####################
# Bool, short only
####################
# Bool, short and long
####################
# Bool, short and long but the short var cannot be used
####################
# Required val, short and long but the short var cannot be used
####################
# Optional val, short and long valid
####################
# Optional val, short and long but the short var cannot be used
####################
# Repeated val, short and long valid
####################
# Repeated val, short and long but short not valid
####################
# Repeated val, short only