Mislav Marohnić
5cc6b0e3d3
allow indented lines in help text
Before, lines of help that were indented were stripped away.
13 lat temu
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}
13 lat temu
Sam Stephenson
57df945738
Don't print version before help summary (bare `rbenv` already does this)
13 lat temu
Sam Stephenson
e2e474c59d
Add `rbenv help --usage`
13 lat temu
Sam Stephenson
4c19dc22d7
Improve syntax for inline documentation and allow for multi-line usage
13 lat temu
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
13 lat temu
Gabriel Horner
d3700dfd70
help for versions and commands, including their options
14 lat temu
Sam Stephenson
72b62e13aa
Make `rbenv help` a little nicer
15 lat temu
Sam Stephenson
ada26ab92e
Document `rbenv which` and `rbenv whence`
15 lat temu
Sam Stephenson
058e2cb7a6
Add `rbenv shell` to help
15 lat temu
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
15 lat temu
Sam Stephenson
5be66da9f4
Rename rbenv-default to rbenv-global
15 lat temu
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.
15 lat temu
Graham Ashton
7a0cde9a4e
Remove set- prefix from local and default commands.
15 lat temu
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.
15 lat temu
Chris Moore
aae721c5f1
fix typo in rbenv help
15 lat temu
Sam Stephenson
5c11f14c9b
rbenv 0.1.0
15 lat temu
Sam Stephenson
71493e8065
Typo
15 lat temu
Sam Stephenson
5394347500
A few tweaks to the help text
15 lat temu
Ryan Baumann
f2f8ef88a5
Implement some basic command line help
15 lat temu