[Bps-public-commit] r14081 - in sd/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Mon Jul 14 14:05:48 EDT 2008


Author: sartak
Date: Mon Jul 14 14:05:14 2008
New Revision: 14081

Modified:
   sd/trunk/   (props changed)
   sd/trunk/lib/App/SD/CLI/Command.pm

Log:
 r64224 at onn:  sartak | 2008-07-14 14:04:45 -0400
 "name" is a property not an argument


Modified: sd/trunk/lib/App/SD/CLI/Command.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command.pm	(original)
+++ sd/trunk/lib/App/SD/CLI/Command.pm	Mon Jul 14 14:05:14 2008
@@ -9,7 +9,7 @@
     my $content;
     if (my $file = file($self->delete_arg('file'))) {
         $content = $file->slurp();
-        $self->set_arg(name => $file->basename);
+        $self->set_prop(name => $file->basename);
     } elsif ($content = $self->delete_arg('content')) {
 
     } elsif ($self->has_arg('edit')) {



More information about the Bps-public-commit mailing list