fix issue of duplicate args of wrt-launcher
authorShao Changbin <changbin.shao@intel.com>
Mon, 21 Jan 2013 07:15:42 +0000 (02:15 -0500)
committerShao Changbin <changbin.shao@intel.com>
Mon, 21 Jan 2013 07:17:01 +0000 (02:17 -0500)
commit3077ace0759e192c449180ade7462f8f722e9047
tree60d9c88890dc7bdd8276674177eb3517d8fe9ce8
parentae08aa2ee4220e22e2497f87bc5effcf17a29280
fix issue of duplicate args of wrt-launcher

[Title] fix issue of duplicate args of wrt-launcher
[Issue#] N/A
[Problem] wrt-launcher doesn't handle duplicate arguments, for instance,
         "wrt-launcher -l -l", it will print widget list twice.
[Cause] doesn't check argument before using
[Solution] check whether the argument has already parsed

Change-Id: Ic54605d1d55f79baf69526ce6dffcd784ecec46e
src/wrt-launcher/wrt-launcher.cpp