From e9e2378e2424132405626373c2994c507b1619ec Mon Sep 17 00:00:00 2001 From: Ricardo Ribalda Delgado Date: Tue, 6 Dec 2016 16:27:23 +0100 Subject: [PATCH] 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 https://bugzilla.gnome.org/show_bug.cgi?id=775714 --- libs/gst/helpers/gst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/helpers/gst b/libs/gst/helpers/gst index c8bcee874d..bd34abfce0 100644 --- a/libs/gst/helpers/gst +++ b/libs/gst/helpers/gst @@ -28,7 +28,7 @@ _gst_mandatory_argument () { if [[ "$prev" != "$command" ]] 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 COMPREPLY=("$cur") fi