openhpi2 / Open-HPI-base

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
0 stars 1 forks source link

hpisettime needs to give usage message #2525

Closed openhpi2 closed 8 years ago

openhpi2 commented 11 years ago

hpisettime hpisettime - This program came with OpenHPI 3.4.0 SAF HPI Version B.03.02

(hpisettime:24615): client-CRITICAL **: hpisettime.c:104: Please enter date and time to be set.

It needs to give the usage message as hpisettime --help hpisettime - This program came with OpenHPI 3.4.0 SAF HPI Version B.03.02

Usage: hpisettime [OPTION...] - Exercises Event Log clock APIs. (Revision: 7291 )

Help Options: -h, --help Show help options

Application Options: -d, --date=mm/dd/yyyy New date -t, --time=24:12:60 New time of day in 24-hr format -D, --domain=nn Select domain id nn -X, --debug Display debug messages -N, --host="host<:port>" Open session to the domain served by the daemon at the specified URL (host:port) This option overrides the OPENHPI_DAEMON_HOST and OPENHPI_DAEMON_PORT environment variables. -C, --cfgfile="file" Use passed file as client configuration file This option overrides the OPENHPICLIENT_CONf environment variable.

Reported by: dr_mohan

openhpi2 commented 11 years ago

Original comment by: dr_mohan

openhpi2 commented 11 years ago

Fixed with #7571

Original comment by: dr_mohan