help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Small fix for short-option handling in gst-tool


From: David M. Cooke
Subject: [Help-smalltalk] Small fix for short-option handling in gst-tool
Date: Tue, 21 Oct 2008 09:06:54 -0700 (PDT)
User-agent: SquirrelMail/1.4.15

Hi,

The command 'gst-remote -I' crashes. Here's the fix.

--- a/gst-tool.c
+++ b/gst-tool.c
@@ -338,7 +338,7 @@ parse_short_options (const char *name, const char *arg)
         }

       else /* if (have_arg == OPT_MANDATORY) */
-        option_error ("expected argument for option -%s", name[-1]);
+        option_error ("expected argument for option -%c", short_opt);
     }

   return 1;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]