diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-05-22 02:00:00 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-05-29 02:00:20 +0200 |
commit | dc6d92ac93cedd65f6c99daa530b69f43f6039ec (patch) | |
tree | b56ec8ebc679fbb2e5653f711448801eeef99543 /gnu.scm | |
parent | 4cb6994790d1b499bc07f183ac9d7b4fbfc3c9bc (diff) | |
download | guix-dc6d92ac93cedd65f6c99daa530b69f43f6039ec.tar guix-dc6d92ac93cedd65f6c99daa530b69f43f6039ec.tar.gz |
bash completion: Fix & unify option parsing.
We now correctly recognise ‘guix -Abcdef’ as equivalent to ‘guix -f’.
* etc/completion/bash/guix (_guix_is_short_option, guix_is_long_option):
New functions.
(_guix_is_dash_f, _guix_is_dash_l, _guix_is_dash_L, _guix_is_dash_m)
(_guix_is_dash_C, _guix_is_dash_p): Use them.
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions