diff options
Diffstat (limited to 'tools/gst-app-maker')
-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 |