From b50c681d6fac718f65abf58057889fcbe9b6aa10 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sat, 5 Mar 2011 20:42:59 +0100 Subject: help fixed, misc cleanups... --- src/CommandLineOptions.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/CommandLineOptions.cpp') 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); -- cgit v1.2.3-55-g7522