From 9cf626eecdbf1f8dc3b5ed72c86419ccecd2f4d4 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sat, 16 Aug 2025 09:04:38 +0200 Subject: [PATCH] do not print starnet command line usage #57 --- DGWRemoteControl/DGWRemoteControlApp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/DGWRemoteControl/DGWRemoteControlApp.cpp b/DGWRemoteControl/DGWRemoteControlApp.cpp index 6f8c0fe..12e63fc 100644 --- a/DGWRemoteControl/DGWRemoteControlApp.cpp +++ b/DGWRemoteControl/DGWRemoteControlApp.cpp @@ -48,8 +48,11 @@ int main(int argc, const char* argv[]) ::fprintf(stderr, "\ndgwremotecontrol v%s : invalid command line usage:\n\n", LONG_VERSION.c_str()); ::fprintf(stderr, "\t\tdgwremotecontrol [-name ] link \n"); ::fprintf(stderr, "\t\tdgwremotecontrol [-name ] unlink\n"); +#ifdef USE_STARNET ::fprintf(stderr, "\t\tdgwremotecontrol [-name ] drop \n"); - ::fprintf(stderr, "\t\tdgwremotecontrol [-name ] drop all\n\n"); + ::fprintf(stderr, "\t\tdgwremotecontrol [-name ] drop all\n"); +#endif + ::fprintf(stderr, "\n"); return 1; }