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