Skip to content

WIN32: Document nut.exe wrapper and improve its usability - #2446

Merged
jimklimov merged 11 commits into
networkupstools:masterfrom
jimklimov:issue-2432
May 16, 2024
Merged

jimklimov merged 11 commits into
networkupstools:masterfrom
jimklimov:issue-2432

Conversation

@jimklimov

Copy link
Copy Markdown
Member
  • added help() method
  • added CLI options to handle version, help, debug level
  • improved error-reporting when running it in a terminal: seeing nothing with no error reporting is not fun (gotta dig in code to find out to go to Event Log for the error message)
  • added a man page (see also Enable installation of built HTML and PDF documents #2445 about delivering it nicely)

Closes: #2432

jimklimov added 9 commits May 14, 2024 22:33
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…hen starting/stopping daemons

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…version info [networkupstools#2432]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… arguments, report help() and exit with error code [networkupstools#2432]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…kupstools#2430]

* as a console app that tried to be a service - report the error
  not only in Event Log but also on console;
* for other issues write the LastError code to Event Log;
* always exit with error code

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… args as such (void)

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…st debug of this and called NUT programs

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… of NUT for Windows wrapper for all-in-one service [networkupstools#2432]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov
jimklimov merged commit 2af04c8 into networkupstools:master May 16, 2024
@jimklimov
jimklimov deleted the issue-2432 branch May 16, 2024 07:24
jimklimov added a commit to jimklimov/nut that referenced this pull request May 24, 2024
jimklimov added a commit to jimklimov/nut that referenced this pull request May 24, 2024
…" normally [networkupstools#2446]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request May 24, 2024
… prepare Windows Firewall for upsd [networkupstools#2446, networkupstools#2455]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Challado pushed a commit to Challado/nut that referenced this pull request Oct 14, 2026
WIN32: Document `nut.exe` wrapper and improve its usability

SVN-Git-Bridge: nut-3e341d2d9c-3fc79f1e8124 2af04c8
Bridge-Author: Jim Klimov <jimklimov+nut@gmail.com>
Bridge-Author-Date: 2024-05-16T09:24:45+02:00
Bridge-Committer: GitHub <noreply@github.com>
Bridge-Committer-Date: 2024-05-16T09:24:45+02:00
From: Jim Klimov <jimklimov+nut@gmail.com>

git-svn-id: file:///mnt/export/subversion/nut/trunk@4007 5f2f2009-99cd-4845-9af7-39d0aa6e3748
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

NUT for Windows: add help/usage to the CLI wrapper nut.exe

1 participant