pm

barely a pack manager
git clone git://z3bra.org/pm
Log | Files | Refs | README | LICENSE

commit a4da3809f1d5c9ca4a1646bfabab7c121728247f
parent 5d666fd2e3404480c49b8830756c1c565d7e7236
Author: z3bra <willyatmailoodotorg>
Date:   Tue Jan 12 17:56:06 2016

Set ACTION_INSPECT as the default action

Diffstat:
 pm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pm.c b/pm.c @@ -31,6 +31,7 @@ enum { ACTION_DELETE = 1, ACTION_UPDATE = 2, ACTION_INSPECT = 3, + ACTION_DEFAULT = ACTION_INSPECT, }; /* error codes */ @@ -616,7 +617,7 @@ main (int argc, char **argv) int r = 0; char *n = NULL; struct pack *p = NULL; - uint8_t action = ACTION_INSPECT; + uint8_t action = ACTION_DEFAULT; ARGBEGIN{ case 'a':