summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-12-24 19:24:54 +0100
committerDave Reisner <dreisner@archlinux.org>2013-12-24 19:24:57 +0100
commit8db138501100cf8bdb49304e3a87a4d2ba373873 (patch)
tree9456e68bfc5dfa93f08880fdf969f188e1bf27d6
parent2ce3a416c8714adedc3117e5247e6da364ddebc9 (diff)
downloadmkinitcpio-8db138501100cf8bdb49304e3a87a4d2ba373873.tar.gz
mkinitcpio-8db138501100cf8bdb49304e3a87a4d2ba373873.tar.xz
include missing longopt --config in arg parser
Reported in FS#38264.
-rwxr-xr-xlsinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsinitcpio b/lsinitcpio
index 9d98d57..60e8e11 100755
--- a/lsinitcpio
+++ b/lsinitcpio
@@ -228,7 +228,7 @@ analyze_image() {
}
_opt_short='achlnVvx'
-_opt_long=('analyze' 'help' 'list' 'nocolor' 'showconfig' 'version' 'verbose' 'extract')
+_opt_long=('analyze' 'config' 'help' 'list' 'nocolor' 'showconfig' 'version' 'verbose' 'extract')
parseopts "$_opt_short" "${_opt_long[@]}" -- "$@" || exit
set -- "${OPTRET[@]}"