Commit 4b541ec0 authored by Stephen M. Coakley's avatar Stephen M. Coakley

Merge pull request #310 from sheldon/describe-fixes

Describe all packages fixed
parents a79b6c1d 355b519c
function omf.cli.describe -a name
switch (count $argv)
case 1
omf.packages.describe $name
return 0
case '*'
echo (omf::err)"Invalid number of arguments"(omf::off)
return 1
end
omf.packages.describe $name
return 0
end
......@@ -19,7 +19,7 @@ function omf.cli.help -a command
Get information about what packages do.
"(omf::dim)"Usage:"(omf::off)"
omf describe Get information from all available packages
omf describe Get information from all available packages
omf describe "(omf::em)"<name>"(omf::off)" Get information from package by name
"(omf::dim)"Examples:"(omf::off)"
......
function omf.packages.describe -a name
if test (count $argv) -eq 0
for package in (omf.packages.list --database)
echo $package - (omf.describe $package)
echo $package - (omf.packages.describe $package)
end
else
set package_path $OMF_PATH/db/pkg/$name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment