r55954 - /scripts/patchedit

potyl-guest at users.alioth.debian.org potyl-guest at users.alioth.debian.org
Sun Apr 11 14:45:53 UTC 2010


Author: potyl-guest
Date: Sun Apr 11 14:45:43 2010
New Revision: 55954

URL: http://svn.debian.org/wsvn/?sc=1&rev=55954
Log:
Print the usage when no arguments are given

Modified:
    scripts/patchedit

Modified: scripts/patchedit
URL: http://svn.debian.org/wsvn/scripts/patchedit?rev=55954&op=diff
==============================================================================
--- scripts/patchedit (original)
+++ scripts/patchedit Sun Apr 11 14:45:43 2010
@@ -134,7 +134,7 @@
 		'optional|o' => \$also_optional,
 		'fix|f'      => \$do_fix,
 	) or pod2usage;
-	pod2usage if $help;
+	pod2usage if $help or !@ARGV;
 	
 	my $cmd         = shift @ARGV;
 	




More information about the Pkg-perl-cvs-commits mailing list