summaryrefslogtreecommitdiffstats
path: root/src/CommandLineOptions.cpp
diff options
context:
space:
mode:
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);