1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-17 15:53:45 -05:00

new-style documentation for most commands

This commit is contained in:
Mislav Marohnić
2012-12-29 23:34:53 +01:00
parent 5cc6b0e3d3
commit 3436bddaea
18 changed files with 73 additions and 8 deletions

View File

@@ -1,10 +1,12 @@
#!/usr/bin/env bash
# Usage: rbenv completions COMMAND [arg1 arg2...]
set -e
[ -n "$RBENV_DEBUG" ] && set -x
COMMAND="$1"
if [ -z "$COMMAND" ]; then
echo "usage: rbenv completions COMMAND [arg1 arg2...]" >&2
rbenv-help --usage completions >&2
exit 1
fi