add help for use command
git-svn-id: file:///home/svn/framework3/trunk@11744 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f8d03ea257
commit
f6b5974feb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue