diff --git a/main.cpp b/main.cpp index e6be23b..dc4d972 100644 --- a/main.cpp +++ b/main.cpp @@ -70,7 +70,6 @@ int main(int argc, char **argv) { ("commands ,o", po::bool_switch(&commands), "Keep parent process alive and process commands. ") ("mountpoint,m", po::value(), "Specify where pCloud filesystem is mounted.") ("commands_only,k", po::bool_switch(&commands_only), "Open command prompt to interact with running daemon.") - ("command,c", po::value(), "Execute a single command and exit.") ("newuser,n", po::bool_switch(&newuser), "Register a new pCloud user account.") ("savepassword,s", po::bool_switch(&save_pass), "Save user password in the database."); @@ -100,11 +99,6 @@ int main(int argc, char **argv) { } } - if (vm.count("command")) { - std::string command = vm["command"].as(); - return ct::process_command(command); - } - if ((!vm.count("username"))) { std::cout << "Username option is required, specify with "