mirror of
https://github.com/ovh/the-bastion.git
synced 2024-12-29 19:50:50 +08:00
chore: trick perltidy
This commit is contained in:
parent
cd5b61b239
commit
5d188faac0
1 changed files with 2 additions and 4 deletions
|
@ -21,11 +21,9 @@ sub dumpdoc {
|
|||
elsif (defined $h{param} && defined $h{default} && defined $h{desc} && defined $h{type}) {
|
||||
die "attempting to dump data but section=$section" if !$section;
|
||||
push @{$sections{$section}}, $h{param};
|
||||
push @out, ".. _$h{param}:\n", "\n"
|
||||
if $ENV{'GLOBAL_REFS'};
|
||||
push @out, (".. _$h{param}:\n", "\n") if $ENV{'GLOBAL_REFS'};
|
||||
push @out, "$h{param}\n", "*" x length($h{param}) . "\n", "\n", ":Type: ``$h{type}``\n", "\n", ":Default: ``$h{default}``\n", "\n";
|
||||
push @out, ":Example: ``$h{example}``\n", "\n"
|
||||
if $h{example};
|
||||
push @out, (":Example: ``$h{example}``\n", "\n") if $h{example};
|
||||
push @out, "$h{desc}\n", "\n";
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue