summaryrefslogtreecommitdiff
path: root/asp.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-08-28 23:09:43 -0400
committerDave Reisner <dreisner@archlinux.org>2014-08-29 22:30:30 -0400
commit5997ed5aae975f3b1fc74af0797db9c01345114a (patch)
tree7a9b0b09fdf0305d498d6d35e988f708365b81ba /asp.in
parent61d246b0ea8dd89c9c31a1d9a19dac407442247b (diff)
downloadasp32-5997ed5aae975f3b1fc74af0797db9c01345114a.tar.xz
add 'show' verb, to display a PKGBUILD for a package
Diffstat (limited to 'asp.in')
-rw-r--r--asp.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/asp.in b/asp.in
index 41c27d4..74165b3 100644
--- a/asp.in
+++ b/asp.in
@@ -35,6 +35,7 @@ Commands:
list-local List tracked packages
list-repos NAME... List repos for packages
log NAME Show revision history
+ show NAME Show the PKGBUILD
shortlog NAME Show revision history in short form
update [NAME...] Update packages (update all tracked if none specified)
untrack NAME... Remove a package from the local repository
@@ -230,6 +231,9 @@ case $action in
log)
log "$1"
;;
+ show)
+ package_show_pkgbuild "$1"
+ ;;
difflog)
difflog "$1"
;;