tAdd verbose flag - repo - list/download/sync packs with remote repositories
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 97ca69b8babb740a48a72c13847d0e85b8c9d3be
(DIR) parent 110669539bbb56f912cbea54c0601bb81136da88
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Fri, 16 Dec 2016 00:14:01 +0100
Add verbose flag
Diffstat:
M repo.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/repo.c b/repo.c
t@@ -15,6 +15,8 @@
void usage(char *);
int download(char *, FILE *);
+int verbose = 0;
+
void
usage(char *name)
{
t@@ -161,6 +163,9 @@ main (int argc, char *argv[])
case 'l':
lflag = 1;
break;
+ case 'v':
+ verbose++;
+ break;
default:
usage(argv0);
}ARGEND;
t@@ -209,4 +214,4 @@ main (int argc, char *argv[])
}
}
return 0;
-}
-\ No newline at end of file
+}