mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 04:10:03 +01:00
wp-uninstalled: error with usage information if no command is given
This commit is contained in:
parent
c2b06feef2
commit
4c5bf21a96
1 changed files with 5 additions and 0 deletions
|
|
@ -33,6 +33,11 @@ done
|
|||
|
||||
shift $((OPTIND-1))
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Usage: $(basename ${BASH_SOURCE[0]}) [options] <wireplumber|wpctl|wpexec|...>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d ${BUILDDIR} ]; then
|
||||
echo "Invalid build directory: ${BUILDDIR}"
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue