Fixed upstream by 8819a0d5
diff --git a/gst-tool.c b/gst-tool.c index 642cdb7..1d6a464 100644 --- 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;
Fixed upstream by 8819a0d5
diff --git a/gst-tool.c b/gst-tool.c
index 642cdb7..1d6a464 100644
--- 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;