1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 14:23:53 -05:00

Make the usage syntax for arbitrary args consistent (#1447)

This commit is contained in:
Mislav Marohnić
2022-10-09 14:49:15 +02:00
committed by GitHub
parent 172a79e993
commit 3e5347be1e
3 changed files with 4 additions and 4 deletions

View File

@@ -5,14 +5,14 @@ load test_helper
@test "without args shows summary of common commands" {
run rbenv-help
assert_success
assert_line "Usage: rbenv <command> [<args>]"
assert_line "Usage: rbenv <command> [<args>...]"
assert_line "Some useful rbenv commands are:"
}
@test "usage flag" {
run rbenv-help --usage
assert_success
assert_output "Usage: rbenv <command> [<args>]"
assert_output "Usage: rbenv <command> [<args>...]"
}
@test "invalid command" {