From ab81ef986f434490a259d486cfe169736d4f0a64 Mon Sep 17 00:00:00 2001 From: Frank Lanitz Date: Tue, 15 Sep 2009 19:56:05 +0000 Subject: [PATCH] Remove deprecated --debug flag. Please use --verbose/-v instead. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4193 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 6 ++++++ HACKING | 2 +- README.Packagers | 2 +- src/main.c | 7 ------- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7ce22385..ae3a7dc6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-09-15 Frank Lanitz + + * src/main.c: + Remove deprecated --debug flag. Please use --verbose/-v instead. + + 2009-09-15 Nick Treleaven * src/search.c: diff --git a/HACKING b/HACKING index 57306af6..62a4d0e8 100644 --- a/HACKING +++ b/HACKING @@ -392,7 +392,7 @@ Where ``gdb-commands`` is a file with the following lines:: set pagination off b handler_log if level <= G_LOG_LEVEL_WARNING - r -d + r -v Loading a plugin diff --git a/README.Packagers b/README.Packagers index 6e28b364..06298f32 100644 --- a/README.Packagers +++ b/README.Packagers @@ -42,7 +42,7 @@ There are a few things to take care of when you create a package: 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 diff --git a/src/main.c b/src/main.c index 87369e6b..de244ad3 100644 --- a/src/main.c +++ b/src/main.c @@ -122,7 +122,6 @@ static GOptionEntry entries[] = { { "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 @@ static void parse_command_line_options(gint *argc, gchar ***argv) } 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();