Commit 1ddfe2ff authored by Leigh Stoller's avatar Leigh Stoller

Add -c option to set the console on a per mfs basis.

parent 3b09693b
......@@ -14,10 +14,10 @@ use Data::Dumper;
#
sub usage()
{
print("Usage: localize_mfs [-d] <path>\n");
print("Usage: localize_mfs [-d] [-c vga|sio|null] <path>\n");
exit(-1);
}
my $optlist = "d";
my $optlist = "dc:";
my $debug = 0;
#
......@@ -86,6 +86,9 @@ if (! getopts($optlist, \%options)) {
if (defined($options{"d"})) {
$debug = 1;
}
if (defined($options{"c"})) {
$MFSCONSOLE = $options{"c"};
}
usage()
if (@ARGV != 1);
my $path = $ARGV[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment