SF.net SVN: geany:[4193] trunk

frlan at users.sourceforge.net frlan at xxxxx
Tue Sep 15 19:56:05 UTC 2009


Revision: 4193
          http://geany.svn.sourceforge.net/geany/?rev=4193&view=rev
Author:   frlan
Date:     2009-09-15 19:56:05 +0000 (Tue, 15 Sep 2009)

Log Message:
-----------
Remove deprecated --debug flag. Please use --verbose/-v instead.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/HACKING
    trunk/README.Packagers
    trunk/src/main.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-09-15 19:55:37 UTC (rev 4192)
+++ trunk/ChangeLog	2009-09-15 19:56:05 UTC (rev 4193)
@@ -1,3 +1,9 @@
+2009-09-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * src/main.c:
+   Remove deprecated --debug flag. Please use --verbose/-v instead.
+
+
 2009-09-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * src/search.c:

Modified: trunk/HACKING
===================================================================
--- trunk/HACKING	2009-09-15 19:55:37 UTC (rev 4192)
+++ trunk/HACKING	2009-09-15 19:56:05 UTC (rev 4193)
@@ -392,7 +392,7 @@
 
     set pagination off
     b handler_log if level <= G_LOG_LEVEL_WARNING
-    r -d
+    r -v
 
 
 Loading a plugin

Modified: trunk/README.Packagers
===================================================================
--- trunk/README.Packagers	2009-09-15 19:55:37 UTC (rev 4192)
+++ trunk/README.Packagers	2009-09-15 19:56:05 UTC (rev 4193)
@@ -42,7 +42,7 @@
   The file COPYING is the GPLv2 license text and should(have to?) be
   included in your package.
 - Start Geany after it was installed out of your package. Pass the
-  command line argument "-d" to see whether Geany complains about
+  command line argument "-v" to see whether Geany complains about
   missing files.
 - Check whether the help menu item (Help->Help or F1) works and opens
   the local installed HTML documentation in your browser (if it opens

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2009-09-15 19:55:37 UTC (rev 4192)
+++ trunk/src/main.c	2009-09-15 19:56:05 UTC (rev 4193)
@@ -122,7 +122,6 @@
 {
 	{ "column", 0, 0, G_OPTION_ARG_INT, &cl_options.goto_column, N_("Set initial column number for the first opened file (useful in conjunction with --line)"), NULL },
 	{ "config", 'c', 0, G_OPTION_ARG_FILENAME, &alternate_config, N_("Use an alternate configuration directory"), NULL },
-	{ "debug", 'd', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &debug_mode, N_("Be verbose"), NULL },
 	{ "ft-names", 0, 0, G_OPTION_ARG_NONE, &ft_names, N_("Print internal filetype names"), NULL },
 	{ "generate-tags", 'g', 0, G_OPTION_ARG_NONE, &generate_tags, N_("Generate global tags file (see documentation)"), NULL },
 	{ "no-preprocessing", 'P', 0, G_OPTION_ARG_NONE, &no_preprocessing, N_("Don't preprocess C/C++ files when generating tags"), NULL },
@@ -500,12 +499,6 @@
 	}
 
 	app->debug_mode = verbose_mode;
-	if (debug_mode)
-	{
-		app->debug_mode = TRUE;
-		g_warning(
-			"Command line option --debug is obsolete and will be removed in the next version.");
-	}
 
 #ifdef G_OS_WIN32
 	win32_init_debug_code();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list