diff options
author | Glynn Foster <glynn.foster@sun.com> | 2003-01-22 02:03:09 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2003-01-22 02:03:09 +0000 |
commit | 525e0dbe64d049602becadb3e6571fdce7f8687b (patch) | |
tree | b04a2f91a461a9d722c286b87a9aa190ef080be9 /src | |
parent | Clarify some of the documentation a little. Add in a few example scripts (diff) | |
download | zenity-525e0dbe64d049602becadb3e6571fdce7f8687b.tar.gz zenity-525e0dbe64d049602becadb3e6571fdce7f8687b.tar.bz2 zenity-525e0dbe64d049602becadb3e6571fdce7f8687b.zip |
Print out warning when we have no arguments to the commandline.
2003-01-22 Glynn Foster <glynn.foster@sun.com>
* src/main.c: Print out warning when we have no arguments to the
commandline.
* TODO: Add another item
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -833,7 +833,8 @@ main (gint argc, gchar **argv) { /* FIXME : We should probably handle --display, or at least maybe load some of the gtk+ * commandline options */ - g_printerr (_("%s in an invalid option for this dialog\n"), poptBadOption (ctx, 0)); + g_printerr (_("%s in an invalid option for this dialog. See zenity --help for more details\n"), + poptBadOption (ctx, 0)); zenity_free_parsing_options (); exit (-1); } @@ -841,6 +842,7 @@ main (gint argc, gchar **argv) { gtk_init (&argc, &argv); if (argc < 2) { + g_printerr (_("You must specify more arguments. See zenity --help for more details\n")); zenity_free_parsing_options (); exit (-1); } |