mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 22:02:45 +08: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:
parent
d71c4d129c
commit
59a2e1bcbc