Tidy
This commit is contained in:
@ -117,6 +117,14 @@ int main(int argc, char* argv[]) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (cmd == "autocomplete_list_commands") {
|
||||
auto commands = dropshell::autocomplete_list_commands();
|
||||
for (const auto& command : commands) {
|
||||
std::cout << command << std::endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (cmd == "install") {
|
||||
if (argc < 3) {
|
||||
std::cerr << "Error: install command requires server name and optionally service name" << std::endl;
|
||||
|
Reference in New Issue
Block a user