summaryrefslogtreecommitdiffstats
path: root/src/CommandLineOptions.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-05 20:42:59 +0100
committerJonathan Bauer2011-03-05 20:42:59 +0100
commitb50c681d6fac718f65abf58057889fcbe9b6aa10 (patch)
treeab6734b95f2710f50a5a793630a8c4a169cd3b43 /src/CommandLineOptions.cpp
parentURL parsing now works with CommandLineOptions. Incomplete... (diff)
downloadfbgui-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.cpp5
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);