mirror of
https://github.com/fspc/gbootroot.git
synced 2026-09-08 12:51:40 -04:00
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:
+14
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user