Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/paclog-pkglist.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/paclog-pkglist.sh.in')
-rw-r--r--contrib/paclog-pkglist.sh.in12
1 files changed, 9 insertions, 3 deletions
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() {