Commit ddff9007 by Arun Babu Neelicattu

groups: deprecate --default flag

parent 375c2242
......@@ -31,7 +31,12 @@ class GroupCommand(EnvCommand):
flag=False,
multiple=True,
),
option("default", None, "Only install the default dependencies."),
option(
"default",
None,
"Only install the default dependencies."
" (<warning>Deprecated</warning>)",
),
option(
"only",
None,
......@@ -61,10 +66,8 @@ class GroupCommand(EnvCommand):
for group in groups.split(",")
}
if self.option("default"):
groups["only"].add("default")
for opt, new, group in [
("default", "only", "default"),
("no-dev", "only", "default"),
("dev", "without", "default"),
("dev-only", "without", "default"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment