mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
helpers/gst: Get bash completion options from gst-launch
It is more likely that gst-launch is installed than ges-launch Reported-by: Marianna Smidth Buschle <msb@qtec.com> https://bugzilla.gnome.org/show_bug.cgi?id=775714
This commit is contained in:
parent
176c078c45
commit
e9e2378e24
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ _gst_mandatory_argument ()
|
||||||
{
|
{
|
||||||
if [[ "$prev" != "$command" ]]
|
if [[ "$prev" != "$command" ]]
|
||||||
then
|
then
|
||||||
COMPREPLY=( $(compgen -W "$(ges-launch-1.0 --help-all | grep -oh '[[:graph:]]*--[[:graph:]]*' | cut -d'=' -f1)" -- $cur) )
|
COMPREPLY=( $(compgen -W "$(gst-launch-1.0 --help-all | grep -oh '[[:graph:]]*--[[:graph:]]*' | cut -d'=' -f1)" -- $cur) )
|
||||||
else
|
else
|
||||||
COMPREPLY=("$cur")
|
COMPREPLY=("$cur")
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue