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

sartak at bestpractical.com sartak at bestpractical.com
Fri May 9 20:05:48 EDT 2008


Author: sartak
Date: Fri May  9 20:05:47 2008
New Revision: 12204

Modified:
   sd/trunk/   (props changed)
   sd/trunk/bin/sd

Log:
 r55504 at onn:  sartak | 2008-05-09 20:05:37 -0400
 Make sd pull die if no --from


Modified: sd/trunk/bin/sd
==============================================================================
--- sd/trunk/bin/sd	(original)
+++ sd/trunk/bin/sd	Fri May  9 20:05:47 2008
@@ -94,7 +94,7 @@
 $0 ticket search --regex .
 $0 ticket delete --uuid <uuid>
 $0 ticket show --uuid <uuid>
-$0 pull remote-url
+$0 pull --from remote-url
 
 $0 help  
     Show this file
@@ -161,6 +161,9 @@
 
 sub run {
     my $self = shift; 
+
+    die "Please specify a --from.\n" if !defined($self->args->{'from'});
+
     local $ENV{PROPHET_RESOLVER} = 'Prompt';
     bless $self, 'App::SD::CLI::Command::Merge';
     $self->args({  from => $self->args->{'from'}, 



More information about the Bps-public-commit mailing list