index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-12-06 22:29:32 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-07 09:59:30 -0600 |
commit | 1038e669649dae98c1cf9c354e680c62cf25638c (patch) | |
tree | 8088a11caace799fdb96040d39fe56abf3e5f55e /contrib/pacsearch.in | |
parent | 48188fbeee8bc39977bc2a0200dc5fb538db9ff1 (diff) |
-rwxr-xr-x | contrib/pacsearch.in | 10 |
diff --git a/contrib/pacsearch.in b/contrib/pacsearch.in index db9d6ad1..794110eb 100755 --- a/contrib/pacsearch.in +++ b/contrib/pacsearch.in @@ -24,13 +24,13 @@ use strict; use warnings; -my $progname = "pacsearch"; +my $myname = 'pacsearch'; my $version = "2.0"; if ($#ARGV lt 0 || $ARGV[0] eq "--help" || $ARGV[0] eq "-h") { - print "$progname - Add color and install information to a pacman -Ss search\n"; - print "Usage: $progname <pattern>\n"; - print "Example: $progname ^gnome\n"; + print "$myname - Add color and install information to a pacman -Ss search\n"; + print "Usage: $myname <pattern>\n"; + print "Example: $myname ^gnome\n"; if ($#ARGV lt 0) { exit 1; } @@ -38,7 +38,7 @@ if ($#ARGV lt 0 || $ARGV[0] eq "--help" || $ARGV[0] eq "-h") { } if ($ARGV[0] eq "--version" || $ARGV[0] eq "-v") { - print "$progname version $version\n"; + print "$myname version $version\n"; print "Copyright (C) 2006-2011 Dan McGee\n"; exit 0; } |