summaryrefslogtreecommitdiff
path: root/getabook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getabook.c')
-rw-r--r--getabook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/getabook.c b/getabook.c
index 3b88289..db4ca96 100644
--- a/getabook.c
+++ b/getabook.c
@@ -211,6 +211,7 @@ int main(int argc, char *argv[])
if(pages[i]->url[0] == '\0')
getpageurls(pages[i]->num);
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)) {