Skip to content

Commit 54b3a7c

Browse files
committed
scripts/Windows/wininit.c: refer to local man (ifdef WITH_DOCS) and website page for nut.exe wrapper [#722]
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent c1e09d4 commit 54b3a7c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/Windows/wininit.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* wininit.c - MS Windows service which replace the init script
1+
/* wininit.c - MS Windows service which replaces the init script
22
(compiled as "nut.exe")
33
44
Copyright (C)
@@ -722,6 +722,11 @@ static void help(const char *arg_progname)
722722
printf(" -D Raise debug verbosity (passed to launched NUT programs)\n");
723723
printf(" -V Display NUT version and exit\n");
724724
printf(" -h Display this help and exit\n"); /* also /? but be hush about the one slash */
725+
726+
printf("\n%s", suggest_doc_links(
727+
"nut.exe" /*arg_progname*/,
728+
"nut.conf, ups.conf, upsmon.conf, upsd.conf and upsd.users"
729+
));
725730
}
726731

727732
int main(int argc, char **argv)

0 commit comments

Comments
 (0)