[Bps-public-commit] r14079 - in Prophet/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jul 14 13:36:37 EDT 2008
Author: sartak
Date: Mon Jul 14 13:35:54 2008
New Revision: 14079
Modified:
Prophet/trunk/ (props changed)
Prophet/trunk/lib/Prophet/CLI.pm
Log:
r64214 at onn: sartak | 2008-07-14 13:35:39 -0400
Don't require -- on each prop-name
Modified: Prophet/trunk/lib/Prophet/CLI.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI.pm (original)
+++ Prophet/trunk/lib/Prophet/CLI.pm Mon Jul 14 13:35:54 2008
@@ -176,7 +176,9 @@
$self->primary_commands( \@primary );
while (my $name = shift @ARGV) {
- die "$name doesn't look like --prop-name" if ( $name !~ /^--/ );
+ die "$name doesn't look like --argument"
+ if $sep == 0 && $name !~ /^--/;
+
my $val;
if ($name eq '--' || $name eq '--props') {
More information about the Bps-public-commit
mailing list