diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-01 22:27:38 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-01 22:27:38 +0200 |
commit | 54563e84b72d7b07762eef937ad4f984a71145ea (patch) | |
tree | 28705842cfd24d189becef0a3923312ac626a192 /bin | |
parent | 750a51986b80015b95595b8d87a732a2cf8ca899 (diff) |
Introduced documentation
bin/pkg: Added `pkg doc`
doc/pkg: documentation for pkg
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -271,6 +271,11 @@ pkg_changelog () { [ -r $PDIR/$1/changelog ] && view $PDIR/$1/changelog } +pkg_doc () { + # FIXME this sucks + [ -r $PDIR/*/doc/$1 ] && less $PDIR/*/doc/$1 +} + check_sed case "$1" in @@ -278,6 +283,7 @@ case "$1" in changelog) pkg_changelog "$2" ;; changeroot) pkg_changesrc "$2" ;; delete) pkg_remove "$2" ;; + doc) pkg_doc "$2" ;; info) pkg_info "$2" ;; install) pkg_add "$2" ;; list) pkg_list_installed ;; |