From 1a98ba05a9e48bedc824bfa38d4f8057de2f49ba Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 8 Mar 2011 11:03:34 +0100 Subject: . --- src/main.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 8a38d93..ad60715 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -12,9 +12,10 @@ void printHelp() QTextStream qout(stdout); qout << QObject::tr("Usage: ./fbgui [OPTIONS]") << endl; qout << QObject::tr("Options:") << endl; - qout << "-u , --url= " << QObject::tr("Set which URL to load.") << endl; - qout << "-d, --debug " << QObject::tr("Activate debug mode.") << endl; - qout << "-h, --help " << QObject::tr("Prints usage information.") << endl; + qout << "-u , --url= " << QObject::tr("Set which URL to load.") << endl; + qout << "-d , --downloaddir " << QObject::tr("Specifiy the download directory.") << endl; + qout << "-D, --debug " << QObject::tr("Activate debug mode.") << endl; + qout << "-h, --help " << QObject::tr("Prints usage information.") << endl; qout.flush(); exit(EXIT_SUCCESS); } @@ -39,7 +40,7 @@ int main(int argc, char *argv[]) static const struct option longOpts[] = { {"url", required_argument, NULL, 'u'}, - {"downloadtodir", required_argument, NULL, 'd'}, + {"downloaddir", required_argument, NULL, 'd'}, {"debug", no_argument, NULL, 'D'}, {"help", no_argument, NULL, 'h'} }; -- cgit v1.2.3-55-g7522