mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-15 14:53:53 -05:00
Add man page (#1438)
`rbenv help` without arguments now runs `man rbenv` on systems where man is present.
This commit is contained in:
@@ -9,6 +9,12 @@ load test_helper
|
||||
assert_line "Some useful rbenv commands are:"
|
||||
}
|
||||
|
||||
@test "usage flag" {
|
||||
run rbenv-help --usage
|
||||
assert_success
|
||||
assert_output "Usage: rbenv <command> [<args>]"
|
||||
}
|
||||
|
||||
@test "invalid command" {
|
||||
run rbenv-help hello
|
||||
assert_failure "rbenv: no such command \`hello'"
|
||||
|
||||
Reference in New Issue
Block a user