Skip to content

Commit

Permalink
Drop obsolete resolve option (ssu lr shows resolved URLs)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Wachter committed Jun 13, 2013
1 parent b1a485f commit e866ad3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
24 changes: 0 additions & 24 deletions rndssucli/rndssucli.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion rndssucli/rndssucli.h
Expand Up @@ -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();
Expand Down

0 comments on commit e866ad3

Please sign in to comment.