diff options
author | Michael Vogt <mvo@debian.org> | 2013-11-28 19:45:44 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-11-28 19:45:44 +0100 |
commit | c872ac503156caff9d0e33306c4121dd667a6567 (patch) | |
tree | 7e4e8ae4b157f69784441973546b34fa1484598a /apt-private | |
parent | 96ae6de5d3d5ae31100079c78fffc5ebc4a0b81c (diff) |
add "-f" option to "build-dep" as sbuild is using it to fix regression with cross-building (LP: #1255806)
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/private-cmndline.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc index b6f257bcb..718a7ce6a 100644 --- a/apt-private/private-cmndline.cc +++ b/apt-private/private-cmndline.cc @@ -151,6 +151,9 @@ bool addArgumentsAPTGet(std::vector<CommandLine::Args> &Args, char const * const addArg('a', "host-architecture", "APT::Get::Host-Architecture", CommandLine::HasArg); addArg(0, "purge", "APT::Get::Purge", 0); addArg(0, "solver", "APT::Solver", CommandLine::HasArg); + // this has no effect *but* sbuild is using it (see LP: #1255806) + // once sbuild is fixed, this option can be removed + addArg('f', "fix-broken", "APT::Get::Fix-Broken", 0); } else if (CmdMatches("clean", "autoclean", "check", "download", "changelog") || CmdMatches("markauto", "unmarkauto")) // deprecated commands |