index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Jason St. John <jstjohn@purdue.edu> | 2013-11-08 02:53:33 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-11-15 11:02:27 +1000 |
commit | a15fd48016014249a13db7a437b5e4f5937f6158 (patch) | |
tree | eecd9c3717fcb05d58983ce89f4d3778502f0cc4 /contrib/paclog-pkglist.sh.in | |
parent | 7bfaa358ea45c5d527a382bb5fef734b3134bd6f (diff) |
-rw-r--r-- | contrib/paclog-pkglist.sh.in | 12 |
diff --git a/contrib/paclog-pkglist.sh.in b/contrib/paclog-pkglist.sh.in index 9b3abad4..aaa7586e 100644 --- a/contrib/paclog-pkglist.sh.in +++ b/contrib/paclog-pkglist.sh.in @@ -25,9 +25,15 @@ export TEXTDOMAINDIR='/usr/share/locale' declare logfile=${1:-@localstatedir@/log/pacman.log} usage() { - printf 'usage: %s [pacman log]\n' "$myname" - printf 'example: %s @localstatedir@/log/pacman.log\n' "$myname" - printf '\ndefaults to: @localstatedir@/log/pacman.log\n' + printf "%s (pacman) v%s\n" "${myname}" "${myver}" + echo + echo "Parse a log file into a list of currently installed packages" + echo + printf "Usage: %s [path to pacman log]\n" "${myname}" + echo + printf "Example: %s @localstatedir@/log/pacman.log\n" "${myname}" + echo + printf 'Defaults to: @localstatedir@/log/pacman.log' } version() { |