about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-05 11:27:03 -0500
committerJune McEnroe <june@causal.agency>2019-12-05 11:27:03 -0500
commit12c0db85bc192482145479a6f7c5d7aebc8b393e (patch)
tree295940988bc04871675f3704f7c066a16fa397c9
parentImport in one transaction per file (diff)
downloadlitterbox-12c0db85bc192482145479a6f7c5d7aebc8b393e.tar.gz
litterbox-12c0db85bc192482145479a6f7c5d7aebc8b393e.zip
Include network/context in progress output
-rw-r--r--unscoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unscoop.c b/unscoop.c
index 73beeb1..d5494e0 100644
--- a/unscoop.c
+++ b/unscoop.c
@@ -236,7 +236,7 @@ int main(int argc, char *argv[]) {
 			sizeRead += len;
 			if (100 * sizeRead / sizeTotal != sizePercent) {
 				sizePercent = 100 * sizeRead / sizeTotal;
-				printf("\r%3zu%%", sizePercent);
+				printf("\r%s/%s: %3zu%%", network, context, sizePercent);
 				fflush(stdout);
 			}
 		}