mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-11 13:51:16 -03:00
This new flag causes fish_opt to generrate an option spec with ! (e.g. "fish_opt -s s -rv some code" will output "s=!some code"). Such validation scripts are not particular useful (they are highly limited as they cannot access the values for other options, and must be quoted appropriately so they can be passed to argparse). I merely added the option to fish_opt so that it can now generate any valid option spec.
4.1 KiB
4.1 KiB