changeset 2119:02cbc4f76b77

[gaim-migrate @ 2129] better command-line handling for gnome (?). this should be... fixed better. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 03 Aug 2001 18:15:43 +0000
parents fa3dfde4727e
children 9e2475cb0010
files src/aim.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/aim.c	Fri Aug 03 17:43:35 2001 +0000
+++ b/src/aim.c	Fri Aug 03 18:15:43 2001 +0000
@@ -550,7 +550,7 @@
 #endif
 
 	/* scan command-line options */
-	opterr = 1;
+	opterr = 0;
 	while ((opt = getopt_long(argc, argv, "ahu:f:v",
 				  long_options, NULL)) != -1) {
 		switch (opt) {
@@ -570,11 +570,6 @@
 		case 'h':	/* help */
 			opt_help = 1;
 			break;
-		case '?':
-		default:
-			show_usage(1, argv[0]);
-			return 0;
-			break;
 		}
 	}