apcupsd --version (return code: 0)
apcupsd 3.14.14 (31 May 2016) debian
apcupsd --help (return code: 1)
usage: apcupsd [options]
Options are as follows:
-b, don't go into background
-d, --debug <level> set debug level (>0)
-f, --config-file <file> load specified config file
-k, --killpower, --hibernate put UPS into hibernation mode [*]
-o, --power-off turn off UPS completely [*]
-P, --pid-file specify name of PID file
-p, --kill-on-powerfail hibernate UPS on powerfail
-R, put SmartUPS into dumb mode
-t, --term-on-powerfail terminate when battery power fails
-T send debug to ./apcupsd.trace
-V, --version display version info
-h, --help display this help
[*] Only one parameter of this kind and apcupsd must not already be running.
Copyright (C) 2004-2009 Adam Kropelin
Copyright (C) 1999-2005 Kern Sibbald
Copyright (C) 1996-1999 Andre Hedrick
Copyright (C) 1999-2001 Riccardo Facchetti
apcupsd is free software and comes with ABSOLUTELY NO WARRANTY
under the terms of the GNU General Public License
Report bugs to apcupsd Support Center:
apcupsd-users@lists.sourceforge.net