From de1d881dda071b241bf7f377b18a42646f0b4442 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Wed, 25 Dec 2024 02:21:54 +0100 Subject: [PATCH] scripts/Windows/wininit.c: refer to local man (ifdef WITH_DOCS) and website page for nut.exe wrapper [#722] Signed-off-by: Jim Klimov --- scripts/Windows/wininit.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/Windows/wininit.c b/scripts/Windows/wininit.c index 527a87e831..6446c35a4c 100644 --- a/scripts/Windows/wininit.c +++ b/scripts/Windows/wininit.c @@ -1,4 +1,4 @@ -/* wininit.c - MS Windows service which replace the init script +/* wininit.c - MS Windows service which replaces the init script (compiled as "nut.exe") Copyright (C) @@ -722,6 +722,9 @@ static void help(const char *arg_progname) printf(" -D Raise debug verbosity (passed to launched NUT programs)\n"); printf(" -V Display NUT version and exit\n"); printf(" -h Display this help and exit\n"); /* also /? but be hush about the one slash */ + + printf("\n%s", suggest_doc_links("nut.exe: /*arg_progname*/, + "nut.conf, ups.conf, upsmon.conf, upsd.conf and upsd.users")); } int main(int argc, char **argv)