tAllow specifying repositories on the command line - repo - list/download/sync packs with remote repositories
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 3f6ad1133fe13890816944190faf7a5665c1fef5
 (DIR) parent 523e7584df1482ff45876c584df693848f03516d
 (HTM) Author: z3bra <contactatz3bradotorg>
       Date:   Thu, 15 Dec 2016 17:32:17 +0100
       
       Allow specifying repositories on the command line
       
       Diffstat:
         M repo.c                              |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/repo.c b/repo.c
       t@@ -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);
        }
        
       t@@ -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;