@@ -62,8 +62,8 @@ def _get_requirements_from_args(
62
62
)
63
63
@click .option (
64
64
"-p" ,
65
- "--previous-bootstrap" ,
66
- "prev_graph_file " ,
65
+ "--previous-bootstrap-file " ,
66
+ "previous_bootstrap_file " ,
67
67
type = clickext .ClickPath (),
68
68
help = "graph file produced from a previous bootstrap" ,
69
69
)
@@ -72,7 +72,7 @@ def _get_requirements_from_args(
72
72
def bootstrap (
73
73
wkctx : context .WorkContext ,
74
74
requirements_files : list [pathlib .Path ],
75
- prev_graph_file : pathlib .Path | None ,
75
+ previous_bootstrap_file : pathlib .Path | None ,
76
76
toplevel : list [str ],
77
77
) -> None :
78
78
"""Compute and build the dependencies of a set of requirements recursively
@@ -88,9 +88,9 @@ def bootstrap(
88
88
)
89
89
logger .info ("bootstrapping %r variant of %s" , wkctx .variant , to_build )
90
90
91
- if prev_graph_file :
92
- logger .info ("reading previous bootstrap data from %s" , prev_graph_file )
93
- prev_graph = dependency_graph .DependencyGraph .from_file (prev_graph_file )
91
+ if previous_bootstrap_file :
92
+ logger .info ("reading previous bootstrap data from %s" , previous_bootstrap_file )
93
+ prev_graph = dependency_graph .DependencyGraph .from_file (previous_bootstrap_file )
94
94
else :
95
95
logger .info ("no previous bootstrap data" )
96
96
prev_graph = None
0 commit comments