mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Small refactoring
This commit is contained in:
parent
f84910bf7f
commit
71bb4b94d8
@ -77,10 +77,10 @@ sub main {
|
|||||||
$in_block = 0;
|
$in_block = 0;
|
||||||
$filename = $ARGV[0];
|
$filename = $ARGV[0];
|
||||||
|
|
||||||
if($ARGV[1] eq "") {
|
if($ARGV[1]) {
|
||||||
$title = $filename . " documentation";
|
|
||||||
} else {
|
|
||||||
$title = $ARGV[1];
|
$title = $ARGV[1];
|
||||||
|
} else {
|
||||||
|
$title = $filename . " documentation";
|
||||||
}
|
}
|
||||||
|
|
||||||
open(INFILE, $filename) or die "Can't open $filename: $!";
|
open(INFILE, $filename) or die "Can't open $filename: $!";
|
||||||
|
Loading…
Reference in New Issue
Block a user