Signed-off-by: Eric Bélanger
---
mkinitcpio | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/mkinitcpio b/mkinitcpio
index 8e5f9a8..27902f1 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -52,12 +52,19 @@ usage: ${0##*/} [options]
-S, --skiphooks <hooks> Skip specified hooks, comma-separated, during build
-s, --save Save build directory. (default: no)
-t, --builddir <dir> Use DIR as the temporary build directory
+ -V, --version Display version information and exit
-v, --verbose Verbose output (default: no)
-z, --compress <program> Use an alternate compressor on the image
EOF
}
+version() {
+ cat <