Commit e866ad35 authored by Aard's avatar Aard

Drop obsolete resolve option (ssu lr shows resolved URLs)

parent b1a485f0
......@@ -377,28 +377,6 @@ void RndSsuCli::optRepos(QStringList opt){
state = Idle;
}
void RndSsuCli::optResolve(QStringList opt){
/*
* resolve URL and print
* TODO: arguments
*/
QString repo;
bool rndRepo=false;
/*
repo = arguments.at(2);
if (arguments.count() >= 3){
//qout << (arguments.at(3).compare("false")||arguments.at(3).compare("0"));
qout << (arguments.at(3).compare("false"));
}
qout << ssu.repoUrl(arguments.at(2));
QCoreApplication::exit(1);
*/
}
void RndSsuCli::optStatus(){
QTextStream qout(stdout);
SsuDeviceInfo deviceInfo;
......@@ -478,8 +456,6 @@ void RndSsuCli::run(){
optModifyRepo(Enable, arguments);
else if (arguments.at(1) == "disablerepo" || arguments.at(1) == "dr")
optModifyRepo(Disable, arguments);
else if (arguments.at(1) == "resolve")
optResolve(arguments);
else
state = UserError;
} else
......
......@@ -37,7 +37,6 @@ class RndSsuCli: public QObject {
void optRegister();
void optRelease(QStringList opt);
void optRepos(QStringList opt);
void optResolve(QStringList opt);
void optStatus();
void optUpdateCredentials(QStringList opt);
void optUpdateRepos();
......
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