diff --git a/scripts/migrate b/scripts/migrate index 55332ceec0..5e28f8279d 100755 --- a/scripts/migrate +++ b/scripts/migrate @@ -5,8 +5,17 @@ unset GREP_OPTIONS source "$rvm_path/scripts/base" usage() { - echo "Usage: rvm migrate from to" >&2 - echo "Moves all gemsets from one ruby to another." >&2 + printf " + + Usage: + + rvm migrate {source-ruby} {destination-ruby} + + Description: + + Moves all gemsets from {source-ruby} ruby to {destination-ruby}. + +" >&2 } confirm() { diff --git a/scripts/upgrade b/scripts/upgrade index 4b750f2fa7..408cafbc09 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -4,8 +4,19 @@ unset GREP_OPTIONS source "$rvm_path/scripts/base" usage() { - echo "Usage: rvm upgrade prefix [specific version]" >&2 - echo "Upgrades the latest installed ruby with a given prefix (e.g. ree) to a new version." >&2 + printf " + + Usage: + + rvm upgrade prefix [ruby-string] + + Description: + + Upgrades the latest installed ruby with a given ruby string + (e.g. ree) to the latest known version. + +" >&2 + exit 1 }