Accept the -print-env and -list-versions commands only on "qtchooser"
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 20 Dec 2012 23:28:18 +0000 (15:28 -0800)
committerThiago Macieira <thiago.macieira@intel.com>
Wed, 2 Jan 2013 13:05:33 +0000 (14:05 +0100)
commit9cf144ec106e4aee7c5ab208a3295aaa9ad69f0b
tree2af8010331862911384f3acf155a2e5a77289961
parent61ae33bfe84a8daf26bfead78d4a7a4ff488f9d6
Accept the -print-env and -list-versions commands only on "qtchooser"

Do not accept those options when called with another tool, especially
when using argv[0]. This allows the target tools to have options with
identical names.

Change-Id: I7c2881100ccc10c73ddfc5d15dcc7f89555392cf
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qtchooser/Makefile
src/qtchooser/main.cpp
tests/auto/qtchooser/tst_qtchooser.cpp