This adds some more doc, and begins to explore GetOpt, unfortunately it's presently going into an endless loop when there is an incorrect opt.

This commit is contained in:
freesource
2002-11-11 08:04:12 +00:00
parent 79631e765c
commit 8db50ec6ac
2 changed files with 83 additions and 5 deletions
+14 -2
View File
@@ -168,7 +168,9 @@ sub read_contents_file {
# It's a good idea to clear the text buffer in the verbosity box
$text_insert->backward_delete($text_insert->get_length());
if ( $text_insert ) {
$text_insert->backward_delete($text_insert->get_length());
}
# Need to know whether genext2fs is being used
my $fs_type = (split(/\s/,$main::makefs))[0];
@@ -503,7 +505,11 @@ sub read_contents_file {
}
} # End of FILE loop
while (Gtk->events_pending) { Gtk->main_iteration; }
while (Gtk->events_pending) { Gtk->main_iteration; }
} # End of LINE loop
@@ -1819,6 +1825,12 @@ sub info {
}
}
if ( $::commandline ) {
print @msgs;
}
}
## This will produce red.