Mislav Marohnić
5cc6b0e3d3
allow indented lines in help text
Before, lines of help that were indented were stripped away.
vor 13 Jahren
Mislav Marohnić
2b21e22e97
display help for commands that have Summary but not Usage
A command doesn't have to specify Usage docs if it doesn't accept any
arguments. The default usage for a command will be printed as:
Usage: rbenv ${command}
vor 13 Jahren
Sam Stephenson
57df945738
Don't print version before help summary (bare `rbenv` already does this)
vor 13 Jahren
Sam Stephenson
e2e474c59d
Add `rbenv help --usage`
vor 13 Jahren
Sam Stephenson
4c19dc22d7
Improve syntax for inline documentation and allow for multi-line usage
vor 13 Jahren
Mislav Marohnić
b8715bfee6
foundation for a help system where each command holds its own docs
Docs are comprised from "Usage", "Summary" and "Help" sections, where
"Help" can span multiple commented lines. If it is missing, "Summary" is
shown in its place.
References #204 , references #206
vor 13 Jahren
Gabriel Horner
d3700dfd70
help for versions and commands, including their options
vor 14 Jahren
Sam Stephenson
72b62e13aa
Make `rbenv help` a little nicer
vor 15 Jahren
Sam Stephenson
ada26ab92e
Document `rbenv which` and `rbenv whence`
vor 15 Jahren
Sam Stephenson
058e2cb7a6
Add `rbenv shell` to help
vor 15 Jahren
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
vor 15 Jahren
Sam Stephenson
5be66da9f4
Rename rbenv-default to rbenv-global
vor 15 Jahren
Graham Ashton
1ed231cb21
Report default or local version.
If no argument is passed to the default or local sub commands, report
the currently configured version.
vor 15 Jahren
Graham Ashton
7a0cde9a4e
Remove set- prefix from local and default commands.
vor 15 Jahren
Andreas Johansson
6938692ca2
Fix argument that cannot be sent to bash via env
/usr/bin/env seems to have problems with arguments to bash on some
platforms. To bypass this, use set -e instead.
vor 15 Jahren
Chris Moore
aae721c5f1
fix typo in rbenv help
vor 15 Jahren
Sam Stephenson
5c11f14c9b
rbenv 0.1.0
vor 15 Jahren
Sam Stephenson
71493e8065
Typo
vor 15 Jahren
Sam Stephenson
5394347500
A few tweaks to the help text
vor 15 Jahren
Ryan Baumann
f2f8ef88a5
Implement some basic command line help
vor 15 Jahren