apcaccess -V (return code: 1)
apcaccess: invalid option -- '-'
Usage: apcaccess [-f <config-file>] [-h <host>[:<port>]] [-p <parameter-name>] [-u] [<command>] [<host>[:<port>]]
-f Load default host,port from given conf file (default: /etc/apcupsd/apcupsd.conf)
-h Connect to host and port (supercedes conf file)
-p Return only the value of the named parameter rather than all parameters and values
-u Strip unit labels
Supported commands: 'status' (default)
Trailing host/port spec overrides -h and conf file.
apcaccess --help (return code: 1)
apcaccess: invalid option -- '-'
Usage: apcaccess [-f <config-file>] [-h <host>[:<port>]] [-p <parameter-name>] [-u] [<command>] [<host>[:<port>]]
-f Load default host,port from given conf file (default: /etc/apcupsd/apcupsd.conf)
-h Connect to host and port (supercedes conf file)
-p Return only the value of the named parameter rather than all parameters and values
-u Strip unit labels
Supported commands: 'status' (default)
Trailing host/port spec overrides -h and conf file.