diff options
| author | Jonathan Bauer | 2011-03-08 11:03:34 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-08 11:03:34 +0100 |
| commit | 1a98ba05a9e48bedc824bfa38d4f8057de2f49ba (patch) | |
| tree | 64198172a4fa6c6aafa7fe0326d9cccffc85b2df /src | |
| parent | removed old line (diff) | |
| download | fbgui-1a98ba05a9e48bedc824bfa38d4f8057de2f49ba.tar.gz fbgui-1a98ba05a9e48bedc824bfa38d4f8057de2f49ba.tar.xz fbgui-1a98ba05a9e48bedc824bfa38d4f8057de2f49ba.zip | |
.
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
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>, --url=<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>, --url=<URL> " << QObject::tr("Set which URL to load.") << endl; + qout << "-d <dir>, --downloaddir <dir> " << 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'} }; |
