Align help text to use less extra space (#356)

This commit is contained in:
Stephen M. Coakley 2016-07-05 22:30:27 -05:00 committed by GitHub
parent da36946eca
commit 8ce0f3bd50

View File

@ -1,7 +1,7 @@
function omf.cli.help -a command
switch "$command"
case "c" "cd"
echo \n"\
echo "\
Change directory to root or plugin/theme directory.
"(omf::dim)"Usage:"(omf::off)"
@ -15,7 +15,7 @@ function omf.cli.help -a command
"
case "d" "describe"
echo \n"\
echo "\
Get information about what packages do.
"(omf::dim)"Usage:"(omf::off)"
@ -28,7 +28,7 @@ function omf.cli.help -a command
"
case "destroy"
echo \n"\
echo "\
Uninstall Oh My Fish.
"(omf::dim)"Usage:"(omf::off)"
@ -36,7 +36,7 @@ function omf.cli.help -a command
"
case "doctor"
echo \n"\
echo "\
Troubleshoot Oh My Fish.
"(omf::dim)"Usage:"(omf::off)"
@ -44,7 +44,7 @@ function omf.cli.help -a command
"
case "i" "install" "get"
echo \n"\
echo "\
Install packages.
"(omf::dim)"Usage:"(omf::off)"
@ -58,7 +58,7 @@ function omf.cli.help -a command
"
case "l" "ls" "list"
echo \n"\
echo "\
List local packages.
"(omf::dim)"Usage:"(omf::off)"
@ -68,7 +68,7 @@ function omf.cli.help -a command
"
case "n" "new"
echo \n"\
echo "\
Create a new package from a template.
"(omf::dim)"Usage:"(omf::off)"
@ -80,7 +80,7 @@ function omf.cli.help -a command
"
case "r" "rm" "remove" "uninstall"
echo \n"\
echo "\
Remove a theme or package.
"(omf::dim)"Usage:"(omf::off)"
@ -92,7 +92,7 @@ function omf.cli.help -a command
"
case "search"
echo \n"\
echo "\
Search for a package or theme.
"(omf::dim)"Usage:"(omf::off)"
@ -105,7 +105,7 @@ function omf.cli.help -a command
"
case "s" "submit"
echo \n"\
echo "\
Submit a package to the registry.
"(omf::dim)"Usage:"(omf::off)"
@ -117,7 +117,7 @@ function omf.cli.help -a command
"
case "t" "theme"
echo \n"\
echo "\
Install and list themes.
"(omf::dim)"Usage:"(omf::off)"
@ -130,7 +130,7 @@ function omf.cli.help -a command
"
case "u" "update"
echo \n"\
echo "\
Update Oh My Fish.
"(omf::dim)"Usage:"(omf::off)"
@ -138,7 +138,7 @@ function omf.cli.help -a command
"
case "*"
echo \n"\
echo "\
\$ omf [command] [arguments]
"(omf::dim)"Usage:"(omf::off)"
@ -166,9 +166,8 @@ function omf.cli.help -a command
"(omf::dim)"Options:"(omf::off)"
"(omf::em)"--h"(omf::off)"elp Display this help.
"(omf::em)"--v"(omf::off)"ersion Display version."
"(omf::em)"--v"(omf::off)"ersion Display version.
echo \n"\
For more information visit → "(omf::em)"git.io/oh-my-fish"(omf::off)\n
end
end