repo

List, download and sync packs with remote repositories
Log | Files | Refs

commit 3f6ad1133fe13890816944190faf7a5665c1fef5
parent 523e7584df1482ff45876c584df693848f03516d
Author: z3bra <contactatz3bradotorg>
Date:   Thu Dec 15 17:32:17 +0100

Allow specifying repositories on the command line

Diffstat:
repo.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/repo.c b/repo.c @@ -38,7 +38,7 @@ int remote_sync(char *, FILE *); void usage(char *name) { - fprintf(stderr, "usage: %s [-sl] [PACK..]\n", name); + fprintf(stderr, "usage: %s [-sl] [-r URL] [PACK..]\n", name); exit(1); } @@ -175,6 +175,9 @@ main (int argc, char *argv[]) TAILQ_INIT(&rlist); ARGBEGIN{ + case 'r': + add_repo(&rlist, EARGF(usage(argv0))); + break; case 's': sflag = 1; break;