Skip to content

Commit

Permalink
scripts/Windows/wininit.c: refer to local man (ifdef WITH_DOCS) and w…
Browse files Browse the repository at this point in the history
…ebsite page for nut.exe wrapper [#722]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Dec 25, 2024
1 parent c1e09d4 commit de1d881
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/Windows/wininit.c
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit de1d881

Please sign in to comment.