mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Use help command to print usage info in completions command
This commit is contained in:
@@ -14,7 +14,7 @@ has-completions() {
|
||||
|
||||
command="$1"
|
||||
if [ -z "$command" ]; then
|
||||
echo "Usage: tmuxifier completions COMMAND [arg1 arg2...]" >&2
|
||||
echo "$(tmuxifier-help completions)" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user