aboutsummaryrefslogtreecommitdiffstats
path: root/mkhint.bash-completion
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-14 10:43:01 +0200
committerDanilo M. <danix@danix.xyz>2026-05-14 10:43:01 +0200
commitfed5a05be7d444378a8da5055d720d94e78c15e2 (patch)
tree7695ac561fe245e4975c63d3458578af61650193 /mkhint.bash-completion
parenta35a7805e97b115ae04181dce6cf940e546c7295 (diff)
downloadmkhintfile-fed5a05be7d444378a8da5055d720d94e78c15e2.tar.gz
mkhintfile-fed5a05be7d444378a8da5055d720d94e78c15e2.zip
refactor: switch arg parser to GNU getopt
Enables compound short flags (e.g. -Nn, -Nd). Also add short flags to bash completion candidates.
Diffstat (limited to 'mkhint.bash-completion')
-rw-r--r--mkhint.bash-completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkhint.bash-completion b/mkhint.bash-completion
index 8c52fb1..29e2523 100644
--- a/mkhint.bash-completion
+++ b/mkhint.bash-completion
@@ -8,7 +8,7 @@ _mkhintfile_completions() {
repo_dir="/var/lib/sbopkg/SBo-danix"
hint_dir="/etc/slackrepo/SBo-danix/hintfiles"
- local all_flags="--version --hintfile --new --list --clean --delete --no-dl --help"
+ local all_flags="--version -v --hintfile -f --new -n --list -l --clean -c --delete -d --no-dl -N --help -h"
case "$prev" in
--new|-n)