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
This commit is contained in:
Frank Lanitz 2009-09-15 19:56:05 +00:00
parent 423666070e
commit ab81ef986f
4 changed files with 8 additions and 9 deletions

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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();