This commit is contained in:
Your Name
2025-04-21 15:34:18 +12:00
parent 005fbbecbe
commit 3fa5d5076a
7 changed files with 66 additions and 32 deletions

View File

@ -20,7 +20,6 @@ void print_help() {
std::cout << " version Show version information" << std::endl;
std::cout << " init DIR Initialize the user directory for server configurations" << std::endl;
std::cout << std::endl;
std::cout << " status Check system status" << std::endl;
std::cout << " servers List configured servers" << std::endl;
std::cout << " servers NAME Show details for specific server" << std::endl;
std::cout << " templates List available templates" << std::endl;
@ -36,6 +35,7 @@ void print_help() {
std::cout << " dropshell templates" << std::endl;
std::cout << " dropshell install myserver myservice" << std::endl;
std::cout << " dropshell run myserver myservice status" << std::endl;
std::cout << " dropshell backup myserver myservice" << std::endl;
}
} // namespace dropshell
@ -67,11 +67,6 @@ int main(int argc, char* argv[]) {
return 0;
}
if (cmd == "status") {
dropshell::check_status();
return 0;
}
if (cmd == "servers") {
if (argc > 2) {
// Show details for specific server