commit cf7487682de47853e36e36330ac80b0c0388562f parent 3b4707049d2bd297a3c71d4082682e0b98930f26 Author: z3bra <willyatmailoodotorg> Date: Sun May 15 19:49:40 +12000 Make check() the default action Diffstat:
sick.c | | | 5 | ++++- |
diff --git a/sick.c b/sick.c @@ -234,7 +234,7 @@ check(FILE *fp, FILE *key) int main(int argc, char *argv[]) { - int ret = 0, action = ACT_NONE; + int ret = 0, action = ACT_CHCK; FILE *key = NULL, *fp = NULL; ARGBEGIN{ @@ -260,6 +260,9 @@ main(int argc, char *argv[]) case ACT_SIGN: ret = sign(fp, key); break; + case ACT_CHCK: + ret = check(fp, key); + break; } }