Added title info.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6031 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Tyler Dauwalder 2004-01-12 19:57:52 +00:00
parent 28512cb982
commit 64e01bc7c0
2 changed files with 9 additions and 0 deletions

View File

@ -75,6 +75,7 @@ Shell::_ProcessArguments(int argc, char *argv[]) {
{
std::string &arg = *i;
if (arg == "--help") {
_PrintTitle();
RETURN(B_ERROR);
} else if (arg == "-v0" || arg == "--quiet") {
fVerbosityLevel = VERBOSITY_NONE;
@ -135,3 +136,10 @@ Shell::_PrintHelp() {
printf(" --quiet: Turns off console output\n");
printf("\n");
}
void
Shell::_PrintTitle() {
printf("makeudfimage v1.0.0 beta 1\n");
printf("Copyright © 2004 Tyler Dauwalder\n");
printf("\n");
}

View File

@ -24,6 +24,7 @@ public:
private:
status_t _ProcessArguments(int argc, char *argv[]);
void _PrintHelp();
void _PrintTitle();
VerbosityLevel fVerbosityLevel;
uint32 fBlockSize;