summaryrefslogtreecommitdiffstats
path: root/bash-completion
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-02-04 20:21:42 +0100
committerDave Reisner <dreisner@archlinux.org>2013-02-05 02:21:52 +0100
commit85ae2bcd44de36b282ebe216ed64127d243e72c5 (patch)
tree55194b2983b8ee56c8b9c9d1f7224692e8cef35d /bash-completion
parente5b9d8a94576e11d7a19e7645328a9bccf90ce73 (diff)
downloadmkinitcpio-85ae2bcd44de36b282ebe216ed64127d243e72c5.tar.gz
mkinitcpio-85ae2bcd44de36b282ebe216ed64127d243e72c5.tar.xz
Add -P, --allpresets option
As a logical extension, allow the -p option to be specified multiple times in order to process several presets at once. Original-patch-by: Sébastien Luttringer <seblu@seblu.net> Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-completion b/bash-completion
index 559b2f3..e7c1db0 100644
--- a/bash-completion
+++ b/bash-completion
@@ -63,7 +63,7 @@ _files_from_dirs() {
_mkinitcpio() {
local action cur prev opts
opts=(-A --addhooks -c --config -g --generate -H --hookhelp -h --help -k --kernel
- -L --listhooks -M --automods -n --nocolor -p --preset -r --moduleroot
+ -L --listhooks -M --automods -n --nocolor -P --allpresets -p --preset -r --moduleroot
-S --skiphooks -s --save -t --builddir -V --version -v --verbose -z --compress)
_get_comp_words_by_ref cur prev