diff options
| author | Jonathan Bauer | 2011-03-05 20:42:59 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-05 20:42:59 +0100 |
| commit | b50c681d6fac718f65abf58057889fcbe9b6aa10 (patch) | |
| tree | ab6734b95f2710f50a5a793630a8c4a169cd3b43 /src/CommandLineOptions.cpp | |
| parent | URL parsing now works with CommandLineOptions. Incomplete... (diff) | |
| download | fbgui-b50c681d6fac718f65abf58057889fcbe9b6aa10.tar.gz fbgui-b50c681d6fac718f65abf58057889fcbe9b6aa10.tar.xz fbgui-b50c681d6fac718f65abf58057889fcbe9b6aa10.zip | |
help fixed, misc cleanups...
Diffstat (limited to 'src/CommandLineOptions.cpp')
| -rw-r--r-- | src/CommandLineOptions.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/CommandLineOptions.cpp b/src/CommandLineOptions.cpp index 3b1fbd1..67135f2 100644 --- a/src/CommandLineOptions.cpp +++ b/src/CommandLineOptions.cpp @@ -29,11 +29,12 @@ CommandLineOptions::CommandLineOptions(int argc, char * const argv[]){ switch(opt) { case 'u': - qDebug() << "Added URL to clOptions:" << optarg; options.insert("url", optarg); + qDebug() << "Added URL to clOptions:" << optarg; break; case 'h': - //printUsage(); + options.insert("help", "help"); + qDebug() << "Added help to clOptions."; break; } opt = getopt_long(argc, argv, optString, longOpts, &longIndex); |
