[pacman-dev] [PATCH 1/3] contrib/paclog-pkglist: fix script name in usage

Dave Reisner d at falconindy.com
Sun Jul 17 13:15:36 EDT 2011


Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
Just an oversight when I renamed the script, as pointed out by Allan. Sadly,
awk doesn't have an equivalent of ${0##*/} when excuted under a #!/bin/awk
shebang (ARGV[0] will always show 'awk'), so we just hard code it.

 contrib/paclog-pkglist |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/paclog-pkglist b/contrib/paclog-pkglist
index 2c66e63..5948a0d 100755
--- a/contrib/paclog-pkglist
+++ b/contrib/paclog-pkglist
@@ -19,8 +19,8 @@
 
 BEGIN {
   if (ARGC < 2) {
-    printf "usage:   log2pkglist <pacman log>\n"
-    printf "example: log2pkglist /var/log/pacman.log\n"
+    printf "usage:   paclog-pkglist <pacman log>\n"
+    printf "example: paclog-pkglist /var/log/pacman.log\n"
     exit
   }
 }
-- 
1.7.6



More information about the pacman-dev mailing list