]> git.lizzy.rs Git - nhentai.git/blobdiff - nhentai/cmdline.py
HDoujin-format Metadata file
[nhentai.git] / nhentai / cmdline.py
index 67140cd950a7f2f70e2e281d559020b8da038761..9107c208253e25517447c567107e1b55bd129912 100644 (file)
@@ -117,6 +117,9 @@ def cmd_parser():
                       help='clean download history')
     parser.add_option('--template', dest='viewer_template', action='store',
                       help='set viewer template', default='')
+       
+    parser.add_option('--meta', dest='generate_metadata', action='store_true', help='generate a Metadata File in HDoujin Format')      
+                                         
 
     try:
         sys.argv = [unicode(i.decode(sys.stdin.encoding)) for i in sys.argv]