From 0728b9b59b1e18b174e210590e3b120f2bf8cf9f 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 c8bcee8..bd34abf 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 -- 2.7.4