[Bps-public-commit] r12182 - Shipwright/trunk/lib/Shipwright/Script
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri May 9 08:24:13 EDT 2008
Author: sunnavy
Date: Fri May 9 08:24:10 2008
New Revision: 12182
Modified:
Shipwright/trunk/lib/Shipwright/Script/List.pm
Log:
only_update option implies with_latest_version
Modified: Shipwright/trunk/lib/Shipwright/Script/List.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/List.pm (original)
+++ Shipwright/trunk/lib/Shipwright/Script/List.pm Fri May 9 08:24:10 2008
@@ -47,7 +47,10 @@
my $latest_version = {};
- if ( $self->with_latest_version || $self->only_update ) {
+ # only_update option implies with_latest_version
+ $self->with_latest_version(1) if $self->only_update;
+
+ if ( $self->with_latest_version ) {
my $map = $shipwright->backend->map;
if ( $self->dist ) {
@@ -175,6 +178,8 @@
--log-level(-l) specify the log level
--log-file specify the log file
--dist sepecify the dist name
+ --with-latest-version show the latest version if possible
+ --only-update only show the dists that can be updated
=head1 AUTHOR
More information about the Bps-public-commit
mailing list