diff options
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'} }; |
