Sam Stephenson
51467dc4a3
Include `install` and `uninstall` in help if ruby-build is installed
пре 13 година
Sam Stephenson
37eca782cc
Documentation tweaks
пре 13 година
Sam Stephenson
19666f2598
Wrap documentation comments at 70 columns
пре 13 година
Mislav Marohnić
3436bddaea
new-style documentation for most commands
пре 13 година
Mislav Marohnić
5cc6b0e3d3
allow indented lines in help text
Before, lines of help that were indented were stripped away.
пре 13 година
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 година
Sam Stephenson
57df945738
Don't print version before help summary (bare `rbenv` already does this)
пре 13 година
Sam Stephenson
e2e474c59d
Add `rbenv help --usage`
пре 13 година
Sam Stephenson
4c19dc22d7
Improve syntax for inline documentation and allow for multi-line usage
пре 13 година
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 година
Gabriel Horner
d3700dfd70
help for versions and commands, including their options
пре 14 година
Sam Stephenson
72b62e13aa
Make `rbenv help` a little nicer
пре 15 година
Sam Stephenson
ada26ab92e
Document `rbenv which` and `rbenv whence`
пре 15 година
Sam Stephenson
058e2cb7a6
Add `rbenv shell` to help
пре 15 година
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
пре 15 година
Sam Stephenson
5be66da9f4
Rename rbenv-default to rbenv-global
пре 15 година
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 година
Graham Ashton
7a0cde9a4e
Remove set- prefix from local and default commands.
пре 15 година
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 година
Chris Moore
aae721c5f1
fix typo in rbenv help
пре 15 година
Sam Stephenson
5c11f14c9b
rbenv 0.1.0
пре 15 година
Sam Stephenson
71493e8065
Typo
пре 15 година
Sam Stephenson
5394347500
A few tweaks to the help text
пре 15 година
Ryan Baumann
f2f8ef88a5
Implement some basic command line help
пре 15 година