diff options
author | Antonio Ospite <ao2@ao2.it> | 2019-02-01 17:04:19 +0100 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-06-17 14:13:29 +0000 |
commit | 65080e97164e0f65ce38492acab086b161663eaf (patch) | |
tree | a25c136539e89d6c74892432974b2d2a6db676f6 /tools | |
parent | 1a68da54b689a46290cfa7320204256f674b998d (diff) | |
download | gstreamer-plugins-bad-65080e97164e0f65ce38492acab086b161663eaf.tar.gz |
gst-app-maker: fix program name and arguments in usage text and help text
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/184>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gst-app-maker | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gst-app-maker b/tools/gst-app-maker index f3c3d1f30..c96892a6f 100755 --- a/tools/gst-app-maker +++ b/tools/gst-app-maker @@ -8,12 +8,12 @@ while [ "$1" ] ; do case $1 in --help) cat <<-EOF -Usage: element-maker [OPTIONS] _NAME BASE_CLASS +Usage: $(basename "$0") [OPTIONS] APP_NAME Create a GStreamer application from a template. Options: --help Print this information --prefix PREFIX Use PREFIX instead of "gst" -Example: 'gst-app-maker my_app' will create the file gstmyapp.c. +Example: '$(basename "$0") my_app' will create the file gstmyapp.c. EOF exit 0 ;; @@ -36,7 +36,7 @@ EOF done if [ "$name" = "" ] ; then - echo "Usage: element-maker [OPTIONS] ELEMENT_NAME BASE_CLASS" + echo "Usage: $(basename "$0") [OPTIONS] APP_NAME" exit 1 fi |