[Bps-public-commit] r14963 - in Prophet/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Sat Aug 9 17:51:52 EDT 2008
Author: sartak
Date: Sat Aug 9 17:51:51 2008
New Revision: 14963
Modified:
Prophet/trunk/ (props changed)
Prophet/trunk/lib/Prophet/CLI/Command/Show.pm
Log:
r69040 at onn: sartak | 2008-08-09 17:24:48 -0400
In Show, sort by property name so that output is more consistent
Modified: Prophet/trunk/lib/Prophet/CLI/Command/Show.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI/Command/Show.pm (original)
+++ Prophet/trunk/lib/Prophet/CLI/Command/Show.pm Sat Aug 9 17:51:51 2008
@@ -51,11 +51,11 @@
if ($args{verbose}) {
my %already_shown = map { $_ => 1 } @show_props;
push @show_props, grep { !$already_shown{$_} }
- keys %$props;
+ sort keys %$props;
}
}
else {
- @show_props = ('id', keys %$props);
+ @show_props = ('id', sort keys %$props);
}
# kind of ugly but it simplifies the code
More information about the Bps-public-commit
mailing list