improved "--help" output.

2005-04-06  Sven Neumann  <sven@gimp.org>

	* app/main.c: improved "--help" output.

	* docs/gimp.1.in: updated.
This commit is contained in:
Sven Neumann 2005-04-06 13:15:38 +00:00 committed by Sven Neumann
parent 09113f94e1
commit e1b5332a56
3 changed files with 33 additions and 19 deletions

View File

@ -1,3 +1,9 @@
2005-04-06 Sven Neumann <sven@gimp.org>
* app/main.c: improved "--help" output.
* docs/gimp.1.in: updated.
2005-04-05 Sven Neumann <sven@gimp.org> 2005-04-05 Sven Neumann <sven@gimp.org>
* INSTALL * INSTALL

View File

@ -133,7 +133,7 @@ static const GOptionEntry main_entries[] =
{ {
"no-data", 'd', 0, "no-data", 'd', 0,
G_OPTION_ARG_NONE, &no_data, G_OPTION_ARG_NONE, &no_data,
N_("Do not load brushes, gradients, palettes, patterns"), NULL N_("Do not load brushes, gradients, patterns, ..."), NULL
}, },
{ {
"no-fonts", 'f', 0, "no-fonts", 'f', 0,
@ -178,7 +178,7 @@ static const GOptionEntry main_entries[] =
{ {
"batch-interpreter", 0, 0, "batch-interpreter", 0, 0,
G_OPTION_ARG_STRING, &batch_interpreter, G_OPTION_ARG_STRING, &batch_interpreter,
N_("The procedure to process batch commands with"), "<procedure>" N_("The procedure to process batch commands with"), "<proc>"
}, },
{ {
"console-messages", 0, 0, "console-messages", 0, 0,
@ -188,12 +188,14 @@ static const GOptionEntry main_entries[] =
{ {
"pdb-compat-mode", 0, 0, "pdb-compat-mode", 0, 0,
G_OPTION_ARG_CALLBACK, gimp_option_pdb_compat_mode, G_OPTION_ARG_CALLBACK, gimp_option_pdb_compat_mode,
N_("PDB compatibility mode"), "<never|query|always>" /* don't translate the mode names (off|on|warn) */
N_("PDB compatibility mode (off|on|warn)"), "<mode>"
}, },
{ {
"stack-trace-mode", 0, 0, "stack-trace-mode", 0, 0,
G_OPTION_ARG_CALLBACK, gimp_option_stack_trace_mode, G_OPTION_ARG_CALLBACK, gimp_option_stack_trace_mode,
N_("Debugging mode for fatal signals"), NULL /* don't translate the mode names (never|query|always) */
N_("Debug in case of a crash (never|query|always)"), "<mode>"
}, },
{ {
"debug-handlers", 0, 0, "debug-handlers", 0, 0,

View File

@ -1,4 +1,4 @@
.TH GIMP 1 "March 23 2004" "Version @GIMP_VERSION@" "GIMP Manual Pages" .TH GIMP 1 "April 6 2005" "Version @GIMP_VERSION@" "GIMP Manual Pages"
.SH NAME .SH NAME
gimp - an image manipulation and paint program. gimp - an image manipulation and paint program.
@ -6,13 +6,14 @@ gimp - an image manipulation and paint program.
.SH SYNOPSIS .SH SYNOPSIS
.B gimp .B gimp
[\-h] [\-\-help] [-v] [\-\-version] [\-\-verbose] [\-\-no\-shm] [\-h] [\-\-help] [\-\-help-all] [\-\-help-gtk] [-v] [\-\-version]
[\-\-no\-cpu\-accel] [\-\-display \fIdisplay\fP] [\-d] [\-\-no\-data] [\-\-verbose] [\-\-no\-shm] [\-\-no\-cpu\-accel] [\-\-display \fIdisplay\fP]
[\-f] [\-\-no\-fonts] [\-i] [\-\-no\-interface] [\-s] [\-\-no\-splash] [\-d] [\-\-no\-data] [\-f] [\-\-no\-fonts] [\-i] [\-\-no\-interface]
[\-\-session \fI<name>\fP] [\-g] [\-\-gimprc \fI<gimprc>\fP] [\-s] [\-\-no\-splash] [\-\-session \fI<name>\fP]
[\-\-system\-gimprc \fI<gimprc>\fP] [\-\-dump\-gimprc\fP] [\-g] [\-\-gimprc \fI<gimprc>\fP] [\-\-system\-gimprc \fI<gimprc>\fP]
[\-\-console\-messages] [\-\-debug\-handlers] [\-\-dump\-gimprc\fP] [\-\-console\-messages] [\-\-debug\-handlers]
[\-\-batch\-interpreter \fI<procedure>\fP] [\-b] [\-\-batch \fI<commands>\fP] [\-\-stack\-trace\-mode \fI<mode>\fP] [\-\-pdb\-compat\-mode \fI<mode>\fP]
[\-\-batch\-interpreter \fI<procedure>\fP] [\-b] [\-\-batch \fI<command>\fP]
[\fIfilename\fP] ... [\fIfilename\fP] ...
@ -42,7 +43,13 @@ advanced non-interactive processing and creation of images.
The \fIgimp\fP accepts the following options: The \fIgimp\fP accepts the following options:
.TP 8 .TP 8
.B \-h, \-\-help .B \-h, \-\-help
Display a list of all commandline options. Show GIMP commandline options.
.TP 8
.B \-\-help\-all
Show all commandline options.
.TP 8
.B \-\-help-gtk
Show GTK+ commandline options.
.TP 8 .TP 8
.B \-v, \-\-version .B \-v, \-\-version
Output the version info. Output the version info.
@ -107,12 +114,11 @@ If the PDB should provide aliases for deprecated functions.
Speficies the procedure to use to process batch events. The default is Speficies the procedure to use to process batch events. The default is
to let Script-Fu evaluate the commands. to let Script-Fu evaluate the commands.
.TP 8 .TP 8
.B \-b, \-\-batch \fI<commands>\fP .B \-b, \-\-batch \fI<command>\fP
Execute the set of \fI<commands>\fP non-interactively. The set Execute \fI<command>\fP non-interactively. This option may appear
of \fI<commands>\fP is typically in the form of a script that multiple times. The \fI<command>\fP is passed to the batch
can be executed by one of the GIMP scripting extensions. When interpreter. When \fI<command>\fP is \fB-\fP the commands are read
\fI<commands>\fP is \fB-\fP the commands are read from standard from standard input.
input.
.TP 8 .TP 8