add help for use command

git-svn-id: file:///home/svn/framework3/trunk@11744 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-02-11 23:42:46 +00:00
parent f8d03ea257
commit f6b5974feb
1 changed files with 7 additions and 3 deletions

View File

@ -1949,14 +1949,18 @@ class Core
alias cmd_unsetg_help cmd_unset_help
def cmd_use_help
print_line "Usage: use module_name"
print_line
print_line "The use command is used to interact with a module of a given name."
end
#
# Uses a module.
#
def cmd_use(*args)
if (args.length == 0)
print(
"Usage: use module_name\n\n" +
"The use command is used to interact with a module of a given name.\n")
cmd_use_help
return false
end