[Bps-public-commit] r13643 - in Shipwright/trunk: . lib/Shipwright/Script

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Jun 27 02:21:27 EDT 2008


Author: sunnavy
Date: Fri Jun 27 02:21:26 2008
New Revision: 13643

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Manual/UsingFlags.pod
   Shipwright/trunk/lib/Shipwright/Script/Flags.pm
   Shipwright/trunk/lib/Shipwright/Script/Update.pm

Log:
 r13881 at sunnavys-mb:  sunnavy | 2008-06-27 13:04:11 +0800
 updated pod


Modified: Shipwright/trunk/lib/Shipwright/Manual/UsingFlags.pod
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Manual/UsingFlags.pod	(original)
+++ Shipwright/trunk/lib/Shipwright/Manual/UsingFlags.pod	Fri Jun 27 02:21:26 2008
@@ -21,11 +21,11 @@
 The next step is to mark dists with flags; let's use C<mysql> and
 C<postgresql> for this example.
 
-    $ shipwright flags -r ... --name mysql --set mysql
-    $ shipwright flags -r ... --name cpan-DBD-mysql --set mysql
-    $ shipwright flags -r ... --name postgresql --set postgresql
-    $ shipwright flags -r ... --name cpan-DBD-Pg --set postgresql
-    $ shipwright flags -r ... --mandatory --set mysql,postgresql --name db
+    $ shipwright flags -r ... mysql --set mysql
+    $ shipwright flags -r ... cpan-DBD-mysql --set mysql
+    $ shipwright flags -r ... postgresql --set postgresql
+    $ shipwright flags -r ... cpan-DBD-Pg --set postgresql
+    $ shipwright flags -r ... --mandatory --set mysql,postgresql db
 
 B<Flags> data is stored in F<shipwright/flags.yml>
 

Modified: Shipwright/trunk/lib/Shipwright/Script/Flags.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Flags.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Flags.pm	Fri Jun 27 02:21:26 2008
@@ -118,7 +118,7 @@
 
  flags -r ... DIST --add FLAG
  flags -r ... DIST --delete FLAG
- flags -r ... --mandatory --set FLAGS --name LABEL
+ flags -r ... --mandatory --set FLAGS LABEL
 
 =head1 OPTIONS
 
@@ -128,7 +128,6 @@
  --log-file FILENAME            : specify the log file
  --add, --delete, --set FLAGS   : specify the flags, split by commas
  --mandatory                    : set these flags as being required
- --name LABEL                   : set the label of a group of mandatory flags
 
 =head1 DESCRIPTION
 

Modified: Shipwright/trunk/lib/Shipwright/Script/Update.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Update.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Update.pm	Fri Jun 27 02:21:26 2008
@@ -151,7 +151,7 @@
 =head1 SYNOPSIS
 
  update --all
- update --name [dist] [--follow]
+ update NAME [--follow]
  update --builder
  update --utility
 
@@ -161,7 +161,6 @@
  -l [--log-level] LOGLEVEL    : specify the log level
                                 (info, debug, warn, error, or fatal)
  --log-file FILENAME          : specify the log file
- --name NAME                  : specify the dist name to be updated
  --version                    : specify the version of the dist
  --all                        : update all dists
  --follow                     : update one dist with all its dependencies



More information about the Bps-public-commit mailing list