From 6a585950c5a014c35e449861b6b2040dca2d2516 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 27 Jul 2012 23:52:02 -0400 Subject: implement --moduleroot option This might be useful for creating an initramfs image as part of a kernel package. Signed-off-by: Dave Reisner --- bash-completion | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bash-completion') diff --git a/bash-completion b/bash-completion index c37484c..6d21fd8 100644 --- a/bash-completion +++ b/bash-completion @@ -55,15 +55,15 @@ _files_from_dirs() { _mkinitcpio() { local action cur prev opts opts=(-A --add -c --config -g --generate -H --hookhelp -h --help -k --kernel - -L --listhooks -M --automods -n --nocolor -p --preset -S --skiphooks - -s --save -t --builddir -v --verbose -z --compress) + -L --listhooks -M --automods -n --nocolor -p --preset -r --moduleroot + -S --skiphooks -s --save -t --builddir -v --verbose -z --compress) _get_comp_words_by_ref cur prev case $prev in -[cg]|--config|--generate) _filedir ;; - -t|--builddir) + -r|--moduleroot|-t|--builddir) _filedir -d ;; -k|--kernel) _find_kernel_versions ;; -- cgit v1.2.3-24-g4f1b