Small fix for short-option handling in gst-tool

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Small fix for short-option handling in gst-tool

David M. Cooke-3
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;




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Small fix for short-option handling in gst-tool

Paolo Bonzini-2
David M. Cooke wrote:
> Hi,
>
> The command 'gst-remote -I' crashes. Here's the fix.

Pushed, thanks!

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk