Commit 79e8f0b4 authored by Lukas Appelhans's avatar Lukas Appelhans

Fix damn things!

parent 12b2e997
......@@ -74,8 +74,8 @@ int main(int argc, char** argv)
options.add("nodeps", ki18n("Skip dependency check"));
options.add("k");
options.add("dbonly", ki18n("Only remove database entries"));
options.add("n");
options.add("nosave", ki18n("Also remove configuration files"));
options.add("n", ki18n("Also remove configuration files"));
// options.add("nosave", ki18n("Also remove configuration files"));
options.add("s");
options.add("recursive", ki18n("Remove dependencies as well. (-ss includes explicitely installed dependencies"));
options.add("u");
......@@ -87,8 +87,8 @@ int main(int argc, char** argv)
options.add("c");
options.add("clean", ki18n("Remove old packages from cache"));
options.add("cc", ki18n("Remove all packages from cache"));
options.add("d");
options.add("nodeps", ki18n("Skip dependency check"));
options.add("d", ki18n("Skip dependency check"));
//options.add("nodeps", ki18n("Skip dependency check"));
options.add("f");
options.add("force", ki18n("Force installation. Overwrite file conflicts"));
options.add("g");
......
......@@ -37,6 +37,10 @@ QueueOperation::QueueOperation(QList<APM::Operation> operations, QMultiHash< APM
m_processingOptions |= Akabei::SkipDependencies;
if (operations.contains(APM::DownloadOnly))
m_processingOptions |= Akabei::DownloadOnly;
if (operations.contains(APM::RemoveConfig))
m_processingOptions |= Akabei::RemoveConfigs;
if (operations.contains(APM::DatabaseOnly))
m_processingOptions |= Akabei::DatabaseOnly;
}
QueueOperation::~QueueOperation()
......
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