mirror of
https://github.com/duncs/clusterssh.git
synced 2025-04-21 09:09:06 +00:00
Display default option value if one is defined
This commit is contained in:
parent
13442fb156
commit
374775bf87
1 changed files with 4 additions and 0 deletions
|
@ -326,6 +326,10 @@ sub _generate_pod {
|
|||
}
|
||||
print '=item ', $desc, $/,$/;
|
||||
print $self->{command_options}->{$longopt}->{help},$/,$/;
|
||||
|
||||
if($self->{command_options}->{$longopt}->{default}) {
|
||||
print 'Default: ', $self->{command_options}->{$longopt}->{default}, $/, $/;
|
||||
}
|
||||
}
|
||||
print '=back',$/,$/;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue