From cdb2a7dab6eba59903f8e15c00ddec43e668d754 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Sat, 4 Jun 2011 14:06:06 +0000 Subject: [PATCH] Removed support for explicit setting of verbosity flag using -v (which clashed with -v usage for version number). Use --debug={memory,addons,gui,misc,all}. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8815 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/main.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index ec7854345..28c981566 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -330,12 +330,6 @@ int handleCmdLinePreliminary(int argc, char **argv) { UserConfigParams::m_verbosity |= UserConfigParams::LOG_ALL; } - else if ( !strcmp(argv[i], "-v") && i+1load(file_manager->getDataFile(argv[i+1])); @@ -404,7 +398,7 @@ int handleCmdLinePreliminary(int argc, char **argv) exit(EXIT_FAILURE); } } - else if (strcmp(argv[i], "--version") == 0 || strcmp(argv[i], "-V") == 0) + else if (strcmp(argv[i], "--version") == 0 || strcmp(argv[i], "-v") == 0) { printf("==============================\n"); fprintf ( stdout, "SuperTuxKart, %s.\n", STK_VERSION ) ; @@ -725,7 +719,6 @@ int handleCmdLine(int argc, char **argv) else if( !strcmp(argv[i], "--trackdir") && i+1