Now gbootroot is functioning well as either a GUI or CLI in relation to whether or not arguments are added. Options.pm allows things to be checked before interpreting so that a determination can be made what mode to go in.

This commit is contained in:
freesource
2002-11-14 00:54:50 +00:00
parent 8db50ec6ac
commit 830a1c109a
4 changed files with 123 additions and 49 deletions
+2 -2
View File
@@ -50,6 +50,7 @@ use English; # I think this can be ditched for portability
use File::Find; # used by check_root_fs
use BootRoot::BootRoot;
use BootRoot::Error;
use BootRoot::Options;
my (%Included, %replaced_by, %links_to, %is_module, %hardlinked,
%strippable, %lib_needed_by, @Libs, %user_defined_link);
@@ -1826,11 +1827,10 @@ sub info {
}
if ( $::commandline ) {
if ( %option ) {
print @msgs;
}
}
## This will produce red.