getmanga; Added pattern templates to usage text.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 13 Jan 2020 00:49:40 +0000 (01:49 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 13 Jan 2020 00:49:40 +0000 (01:49 +0100)
getmanga

index 7dea808..bd8401e 100755 (executable)
--- a/getmanga
+++ b/getmanga
@@ -111,6 +111,10 @@ def download(mng, tdir, pattern):
 
 def usage(out):
     out.write("usage: getmanga [-hv] [-w WAIT] [-p PROFILE] [-P PATTERN] DIRECTORY [LIBRARY ID]\n")
+    out.write("\tpattern templates:\n")
+    out.write("\t  %i\tSequence number\n")
+    out.write("\t  %n\tName\n")
+    out.write("\t  %d\tID\n")
 
 def main():
     global verbose, wait, mprof, props