summary refs log tree commit diff
path: root/nix/libstore/misc.cc
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-05-22 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-05-29 02:00:20 +0200
commitdc6d92ac93cedd65f6c99daa530b69f43f6039ec (patch)
treeb56ec8ebc679fbb2e5653f711448801eeef99543 /nix/libstore/misc.cc
parent4cb6994790d1b499bc07f183ac9d7b4fbfc3c9bc (diff)
downloadguix-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 'nix/libstore/misc.cc')
0 files changed, 0 insertions, 0 deletions