* Updated Get->switches() to take 'list' and 'man' parameters. With list, the passed in switches can be checked to ensure they're valid. With 'man', if set to the name of a man page (usually $THIS_FILE) will be displayed if --help, -h or -? are used.
* Disabled striker-parse-oui until it can be reworked to store the the OUI data in a flat file instead of in the database.
Signed-off-by: Digimer <digimer@alteeve.ca>
TheswitchesC<<-h>>,C<<-?>>andC<<--help>>willsettheC<<help>>switchtoC<<#!set!# >> so that calling program knows to display it's help, if available.
Parameters
=head3list(optional)
Ifsettoananonymousarray,onlyswitchesinthelistwillbeallowed.Ifaswitchispassedthatdoesn'tmatchanentryinthislist,anerrormessageisprintedtoSTDOUTandC<<#!error!# >> is returned.. If this is set but it is not an array reference, C<< #!error!# >> is returned.
anvil-daemon - Main systemd daemon for the Anvil! IA platform. Provides all job management, monitoring and Striker back-end functions.
anvil-daemon \- Main systemd daemon for the M3 Anvil! IA cluster. Provides all job management, monitoring and Striker back-end functions.
.SHSYNOPSIS
.Banvil-daemon
.Banvil-daemon
\fI\,<command> \/\fR[\fI\,options\/\fR]
.SHDESCRIPTION
.Banvil-daemon
Main daemon for the M3 Anvil! Intelligent Availability\*(Tm platform. Usually managed via
anvil-daemon \- Main systemd daemon that can be run manually for testing and debug reasons. No switches needed for normal operation by systemd.
.SHOPTIONS
.TP
\-?, \-h, \fB\-\-help\fR
Show a prompt to read this man page.
.TP
\fB\-\-refresh-json\fR (derecated)
Short hand for '--run-once', '--main-loop-only' and '--no-start'. Used to be use to refresh the JSON file used by striker's web interface to know hardware states.
\fB\-\-refresh-json\fR (derecated)
Short hand for '--run-once', '--main-loop-only' and '--no-start'. Used to be use to refresh the JSON file used by striker's web interface to know hardware states.
.SHAUTHOR
Written by Madison Kelly, Alteeve staff and the Anvil! project contributors.