ossp-pkg/shtool/shtoolize.in 1.20 -> 1.21
--- shtoolize.in 2001/01/17 09:55:11 1.20
+++ shtoolize.in 2001/04/19 07:46:41 1.21
@@ -254,11 +254,16 @@
foreach $name (@used) {
my $u = $SCRIPT->{$name}->{USAGE};
my $u2 = '';
+ my $u3 = '';
if ($u =~ m|^(.{50}.*?)\s+(.+)$|) {
($u, $u2) = ($1, $2);
}
+ if ($u2 =~ m|^(.{50}.*?)\s+(.+)$|) {
+ ($u2, $u3) = ($1, $2);
+ }
$usage .= sprintf(" echo ' %-8s %s'\n", $name, $u);
$usage .= sprintf(" echo ' %-8s %s'\n", '', $u2) if ($u2);
+ $usage .= sprintf(" echo ' %-8s %s'\n", '', $u3) if ($u3);
}
if (@unused) {
$usage .= " echo ''\n";
|
|