FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 07-17-2011, 05:15 PM
Dave Reisner
 
Default contrib/paclog-pkglist: fix script name in usage

Signed-off-by: Dave Reisner <dreisner@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>
"
- printf "example: log2pkglist /var/log/pacman.log
"
+ printf "usage: paclog-pkglist <pacman log>
"
+ printf "example: paclog-pkglist /var/log/pacman.log
"
exit
}
}
--
1.7.6
 

Thread Tools




All times are GMT. The time now is 09:29 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org