File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1112,12 +1112,6 @@ async def main_async(args):
1112
1112
force = args .force ,
1113
1113
skip_toc = args .skip_toc_verification
1114
1114
)
1115
- parser .add_argument (
1116
- "--max-retries" ,
1117
- type = check_positive_int ,
1118
- default = 3 ,
1119
- help = "Maximum number of retry attempts for failed downloads (default: 3)"
1120
- )
1121
1115
1122
1116
return verification_passed and toc_verification_passed
1123
1117
@@ -1163,6 +1157,12 @@ def main():
1163
1157
action = "store_true" ,
1164
1158
help = "Skip TOC verification step"
1165
1159
)
1160
+ parser .add_argument (
1161
+ "--max-retries" ,
1162
+ type = check_positive_int ,
1163
+ default = 3 ,
1164
+ help = "Maximum number of retry attempts for failed downloads (default: 3)"
1165
+ )
1166
1166
args = parser .parse_args ()
1167
1167
1168
1168
# Run the async main function
You can’t perform that action at this time.
0 commit comments