diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-04 15:38:25 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-07-04 22:14:14 +0200 |
commit | cb8c8351f152e8759fb6106d6435e20b1ead23a2 (patch) | |
tree | 6c828b6a46d35ea1a0b257ff6a97bacb3f2f41bb | |
parent | 0c2c3f4c79b7660be01dc0838a6fe88ddefc0cd9 (diff) | |
download | mkinitcpio-cb8c8351f152e8759fb6106d6435e20b1ead23a2.tar.gz mkinitcpio-cb8c8351f152e8759fb6106d6435e20b1ead23a2.tar.xz |
mkinitcpio: include version in help msg
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | mkinitcpio | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ install: all -e 's|^HOOKDIR=.*|HOOKDIR=/lib/initcpio/hooks|' \ -e 's|^INSTDIR=.*|INSTDIR=/lib/initcpio/install|' \ -e 's|^PRESETDIR=.*|PRESETDIR=/etc/mkinitcpio.d|' \ + -e 's|%VERSION%|${VERSION}|g' \ < mkinitcpio > ${DESTDIR}/sbin/mkinitcpio sed -e 's|\(^declare FUNCTIONS\)=.*|\1=/lib/initcpio/functions|' \ @@ -36,6 +36,7 @@ unset GREP_OPTIONS CDPATH usage() { cat <<EOF +mkinitcpio %VERSION% usage: ${0##*/} [options] Options: |