summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-05-07 01:08:08 +0000
committerGlynn Foster <gman@src.gnome.org>2003-05-07 01:08:08 +0000
commita08343daf90e9425c85c1138cf6eea90addafb11 (patch)
treee10814f4ce8d30bcba923f8c4f8344d7e2e8ca1c /src/main.c
parentd5549deab31020185742dbeb41594a6224270240 (diff)
Update commandline error message, needs updating of translations. Remove
2003-05-06 Glynn Foster <glynn.foster@sun.com> * src/main.c: Update commandline error message, needs updating of translations. * src/tree.c: Remove some commented out code. * src/zenity.glade: Updated error and info dialogs to do wrapping.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 2f97d1c..0a2d312 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1000,18 +1000,19 @@ main (gint argc, gchar **argv) {
/*nothing*/;
if (nextopt != -1) {
- g_printerr (_("%s in an invalid option for this dialog. See zenity --help for more details\n"),
+ g_printerr (_("%s in an invalid option. See zenity --help for more details\n"),
poptBadOption (ctx, 0));
zenity_free_parsing_options ();
exit (-1);
}
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);
- }
+ } */
switch (results->mode) {
case MODE_CALENDAR: