mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-07 15:31:14 -03:00
refactor string flag parsing
Hoist the code for parsing flags out of each individual subcommand and into a function shared by all the subcommands. This reduces duplication and potential for error. More importantly it makes the code that actually implements the subcommand more prominent.
This commit is contained in: