1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-12 21:33:54 -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,4 +1,6 @@
#!/usr/bin/env bash
# Usage: rbenv version-file-write FILENAME VERSION
set -e
[ -n "$RBENV_DEBUG" ] && set -x
@@ -6,7 +8,7 @@ RBENV_VERSION_FILE="$1"
RBENV_VERSION="$2"
if [ -z "$RBENV_VERSION" ] || [ -z "$RBENV_VERSION_FILE" ]; then
echo "usage: rbenv version-file-write FILENAME VERSION" >&2
rbenv-help --usage version-file-write >&2
exit 1
fi