summaryrefslogtreecommitdiff
path: root/getbnbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getbnbook.c')
-rw-r--r--getbnbook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/getbnbook.c b/getbnbook.c
index a10d98e..6fa247f 100644
--- a/getbnbook.c
+++ b/getbnbook.c
@@ -136,6 +136,7 @@ int main(int argc, char *argv[])
continue;
}
getpage(pages[i]);
+ printf("%.0f%% done\n", (float)i / (float)numpages * 100);
}
} else if(argv[1][0] == '-' && argv[1][1] == 'n') {
while(fgets(buf, BUFSIZ, stdin)) {