add a --help option to the gdialog wrapper script
This commit is contained in:
parent
0c1539ced3
commit
b12b1a4faf
@ -1,3 +1,7 @@
|
|||||||
|
2003-06-03 Mike Newman <mikegtn@gnome.org>
|
||||||
|
|
||||||
|
* src/gdialog.in: add a --help option, pointing to zenity docs.
|
||||||
|
|
||||||
2003-06-03 Changwoo Ryu <cwryu@debian.org>
|
2003-06-03 Changwoo Ryu <cwryu@debian.org>
|
||||||
|
|
||||||
* configure.in: Added "ko" to ALL_LINGUAS.
|
* configure.in: Added "ko" to ALL_LINGUAS.
|
||||||
|
@ -32,6 +32,16 @@ ARG: while ($argn < $args) {
|
|||||||
|
|
||||||
get_arg;
|
get_arg;
|
||||||
|
|
||||||
|
# Informational stuff
|
||||||
|
|
||||||
|
if ($element eq "--help" || $element eq "--about") {
|
||||||
|
print ( "gdialog is a compatibility wrapper around zenity, " .
|
||||||
|
"provided to hopefully\nallow older scripts to run. " .
|
||||||
|
"If you are reading this message, you should\n" .
|
||||||
|
"probably be using zenity directly\n\n" .
|
||||||
|
"type: 'zenity --help' or 'man zenity' for more information\n");
|
||||||
|
exit (1);
|
||||||
|
}
|
||||||
|
|
||||||
# Section 1 : Args which gdialog expects BEFORE box options
|
# Section 1 : Args which gdialog expects BEFORE box options
|
||||||
# --clear, --backtitle have no obvious effect - ignored
|
# --clear, --backtitle have no obvious effect - ignored
|
||||||
|
Reference in New Issue
Block a user