Permalink
Browse files

Another small output fix for --help and --version.

  • Loading branch information...
gknauf committed Apr 4, 2013
1 parent 3dcc1a9 commit fbc35d394cc57b9e2e92fe45d34778b77f29c05b
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mk-ca-bundle.pl
View
@@ -44,6 +44,7 @@
$opt_w = 76; # default base64 encoded lines length
+$0 =~ s@.*(/|\\)@@;
$Getopt::Std::STANDARD_HELP_VERSION = 1;
getopts('bfhilnqtuvw:');
@@ -59,7 +60,6 @@
print ("=" x 78 . "\n");
}
-$0 =~ s@.*(/|\\)@@;
sub HELP_MESSAGE() {
print "Usage:\t${0} [-b] [-f] [-i] [-l] [-n] [-q] [-t] [-u] [-v] [-w<l>] [<outputfile>]\n";
print "\t-b\tbackup an existing version of ca-bundle.crt\n";

0 comments on commit fbc35d3

Please sign in to comment.