- Added VERBOSITY_MEDIUM support.
- Turned on iso9660 output by default for the time being (i.e. while still developing). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5576 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d53c774c1d
commit
c8e155bd68
@ -24,7 +24,7 @@ Shell::Shell()
|
|||||||
: fVerbosityLevel(VERBOSITY_HIGH)
|
: fVerbosityLevel(VERBOSITY_HIGH)
|
||||||
, fBlockSize(2048)
|
, fBlockSize(2048)
|
||||||
, fDoUdf(true)
|
, fDoUdf(true)
|
||||||
, fDoIso(false)
|
, fDoIso(true)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -80,6 +80,8 @@ Shell::_ProcessArgument(std::string arg, int argc, char *argv[]) {
|
|||||||
} else if (arg == "-v1") {
|
} else if (arg == "-v1") {
|
||||||
fVerbosityLevel = VERBOSITY_LOW;
|
fVerbosityLevel = VERBOSITY_LOW;
|
||||||
} else if (arg == "-v2") {
|
} else if (arg == "-v2") {
|
||||||
|
fVerbosityLevel = VERBOSITY_MEDIUM;
|
||||||
|
} else if (arg == "-v3") {
|
||||||
fVerbosityLevel = VERBOSITY_HIGH;
|
fVerbosityLevel = VERBOSITY_HIGH;
|
||||||
} else {
|
} else {
|
||||||
printf("ERROR: invalid argument `%s'\n", arg.c_str());
|
printf("ERROR: invalid argument `%s'\n", arg.c_str());
|
||||||
@ -97,6 +99,7 @@ Shell::_PrintHelp() {
|
|||||||
printf(" --help: Displays this help text\n");
|
printf(" --help: Displays this help text\n");
|
||||||
printf(" -v0: Sets verbosity level to 0 (silent)\n");
|
printf(" -v0: Sets verbosity level to 0 (silent)\n");
|
||||||
printf(" -v1: Sets verbosity level to 1 (low)\n");
|
printf(" -v1: Sets verbosity level to 1 (low)\n");
|
||||||
printf(" -v2: Sets verbosity level to 2 (high, *default*)\n");
|
printf(" -v2: Sets verbosity level to 2 (medium)\n");
|
||||||
|
printf(" -v3: Sets verbosity level to 3 (high, *default*)\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user