aboutsummaryrefslogtreecommitdiff
path: root/src/paludis/command_line.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-27 21:58:43 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-27 21:58:43 +0000
commitc32e10adf99213afbc64dc418df38c7a6bee57fd (patch)
treeede32b8f39058dff9a008c9426eccd597f23a71c /src/paludis/command_line.cc
parent6f6efa6972d22378c01fbf07bdbaf33bcf66287f (diff)
downloadpaludis-c32e10adf99213afbc64dc418df38c7a6bee57fd.tar.gz
paludis-c32e10adf99213afbc64dc418df38c7a6bee57fd.tar.xz
Add finer grained control over when paludis falls back to using an installed package to resolve a dependency.
Diffstat (limited to 'src/paludis/command_line.cc')
-rw-r--r--src/paludis/command_line.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/paludis/command_line.cc b/src/paludis/command_line.cc
index 1ffbbc66e..63ac0b8d7 100644
--- a/src/paludis/command_line.cc
+++ b/src/paludis/command_line.cc
@@ -173,6 +173,13 @@ CommandLine::CommandLine() :
("discard", "Discard"),
"error"),
+ dl_fall_back(&dl_args, "dl-fall-back", '\0', "When to fall back to installed packages",
+ paludis::args::EnumArg::EnumArgOptions
+ ("as-needed-except-targets", "Where necessary, but not for target packages")
+ ("as-needed", "Where necessary, including for target packages")
+ ("never", "Never"),
+ "as-needed"),
+
list_args(this, "List options",
"Options relevant for one or more of the --list actions."),
a_repository(&list_args, "repository", '\0', "Matches with this repository name only"),