You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: hoto.py
+5-4
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,7 @@ def parseArgs():
127
127
#parser.add_argument("-n", "--count", type=int, default=0, help="Number of records to process. Use zero (0) for unlimited.")
128
128
parser.add_argument("--suggest", "-s", default=False, action=argparse.BooleanOptionalAction, help='''Suggest tags and metadata for files, showing both selectors "{sel.h1}" and matches "Tero's homepage".''')
129
129
parser.add_argument("--rename", default=False, action=argparse.BooleanOptionalAction, help='''Rename files to output format.''')
130
+
parser.add_argument("--maff-html-file-name", "-m", default="index.html", help='''HTML file to analyze inside MAFF archive. If one HTML file embeds another, the main is often included with an alternate name, such as "index_1.html".''')
130
131
parser.add_argument("--no-action", "-n", default=False, action=argparse.BooleanOptionalAction, help='''Does not actually modify any files, but shows what would happen.''')
131
132
args=parser.parse_args()
132
133
@@ -215,7 +216,7 @@ def __init__(self, rdfStr):
215
216
__setattr__=dict.__setitem__
216
217
__delattr__=dict.__delitem__
217
218
218
-
defreadPath(path):
219
+
defreadPath(path, args):
219
220
"Read pathlib.Path path to string, optionally extracting files from inside MAFF zip"
0 commit comments