tPrint URL in verbose mode - repo - list/download/sync packs with remote repositories
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit e8fc243b56c73fc572bf53ab92497b3ebf1352d1
(DIR) parent e25fbde7a78df5278bbcb634bfd694eec7b501e7
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Tue, 16 May 2017 08:20:57 +0200
Print URL in verbose mode
Diffstat:
M repo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/repo.c b/repo.c
t@@ -275,7 +275,7 @@ main (int argc, char *argv[])
if (lflag) {
TAILQ_FOREACH(p, &plist, entries) {
- printf("%s\t%s\n", p->name, p->version);
+ printf("%s\t%s\t%s\n", p->name, p->version, verbose ? p->url : "\b\0");
}
return 0;
}