[Bps-public-commit] r15074 - in sd/trunk: . lib/App/SD/CLI

spang at bestpractical.com spang at bestpractical.com
Tue Aug 12 09:28:09 EDT 2008


Author: spang
Date: Tue Aug 12 09:28:02 2008
New Revision: 15074

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

Log:
 r47478 at loki:  spang | 2008-07-31 13:36:28 +0100
 allow user to specify --edit to also use the ticket creation editor regardless of props given on the commandline (and delete that arg when done to avoid confusing prophet)


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	Tue Aug 12 09:28:02 2008
@@ -40,7 +40,8 @@
             $text .= $header;
         }
         if (my $props = $args{prefill_props}) {
-            my @ordering = (my $props_order = $args{props_order}) ?
+            my $props_order;
+            my @ordering = ($props_order = $args{props_order}) ?
                                 @$props_order : keys %$props;
             $text .= join "\n", map { "$_: $props->{$_}" } @ordering;
         }

Modified: sd/trunk/lib/App/SD/CLI/Command/Ticket/Create.pm
==============================================================================



More information about the Bps-public-commit mailing list