Commit b27e993c authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm info: add --whatdepends and --whatprovides options

parent 31fbcdb8
......@@ -34,6 +34,8 @@ Options:
--recommends print recommended packages
--suggests print suggested packages
--changelog print package changelog
--whatdepends print packages that depend on this
--whatprovides print packages that provide the target
Without options prints general package information.
'
......@@ -232,6 +234,16 @@ epm_info()
epm_changelog
return
;;
--whatdepends)
load_helper epm-whatdepends
epm_whatdepends
return
;;
--whatprovides)
load_helper epm-whatprovides
epm_whatprovides
return
;;
esac
# if possible, it will put pkg_urls into pkg_files or pkg_names
......
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