Permalink
Browse files

More information on help messsage

  • Loading branch information...
1 parent 4112a5a commit aedfdb6ed18a852936d880005f097039a056bde1 @tokuhirom committed May 30, 2013
Showing with 3 additions and 2 deletions.
  1. +1 −0 author/copy-from-rbenv.sh
  2. +2 −2 libexec/plenv-help
@@ -42,3 +42,4 @@ perl -i -pe 's/no_rehash=""/no_rehash=1/' libexec/plenv-init
git_revision="$(git describe --tags HEAD | sed -e 's/-.*//' 2>/dev/null || true)"
export GIT_REVISION=$git_revision
perl -i -pe 's/version="[0-9.]+"/version="$ENV{GIT_REVISION}"/' libexec/plenv---version
+perl -i -pe 's!print_summaries commands local global shell install uninstall rehash version versions which whence!print_summaries commands local global shell install uninstall rehash version versions which whence list-modules migrate-modules install-cpanm!; s!%-9s!%-17s!' libexec/plenv-help
View
@@ -92,7 +92,7 @@ print_summary() {
eval "$(documentation_for "$command")"
if [ -n "$summary" ]; then
- printf " %-9s %s\n" "$command" "$summary"
+ printf " %-17s %s\n" "$command" "$summary"
fi
}
@@ -143,7 +143,7 @@ if [ -z "$1" ] || [ "$1" == "plenv" ]; then
[ -z "$usage" ] || exit
echo
echo "Some useful plenv commands are:"
- print_summaries commands local global shell install uninstall rehash version versions which whence
+ print_summaries commands local global shell install uninstall rehash version versions which whence list-modules migrate-modules install-cpanm
echo
echo "See \`plenv help <command>' for information on a specific command."
echo "For full documentation, see: https://github.com/tokuhirom/plenv#readme"

0 comments on commit aedfdb6

Please sign in to comment.