File tree 1 file changed +11
-12
lines changed
1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -281,8 +281,17 @@ class PipOption(Option):
281
281
dest = "retries" ,
282
282
type = "int" ,
283
283
default = 5 ,
284
- help = "Maximum number of retries each connection should attempt "
285
- "(default %default times)." ,
284
+ help = "Maximum attempts to establish a new HTTP connection. (default: %default)" ,
285
+ )
286
+
287
+ resume_retries : Callable [..., Option ] = partial (
288
+ Option ,
289
+ "--resume-retries" ,
290
+ dest = "resume_retries" ,
291
+ type = "int" ,
292
+ default = 0 ,
293
+ help = "Maximum attempts to resume or restart an incomplete download. "
294
+ "(default: %default)" ,
286
295
)
287
296
288
297
timeout : Callable [..., Option ] = partial (
@@ -1077,16 +1086,6 @@ def check_list_path_option(options: Values) -> None:
1077
1086
help = ("Enable deprecated functionality, that will be removed in the future." ),
1078
1087
)
1079
1088
1080
- resume_retries : Callable [..., Option ] = partial (
1081
- Option ,
1082
- "--resume-retries" ,
1083
- dest = "resume_retries" ,
1084
- type = "int" ,
1085
- default = 0 ,
1086
- help = "Maximum number of resumption attempts for incomplete downloads"
1087
- "(default %default times)." ,
1088
- )
1089
-
1090
1089
##########
1091
1090
# groups #
1092
1091
##########
You can’t perform that action at this time.
0 commit comments