summaryrefslogtreecommitdiffstats
path: root/control/argument.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add fan shutdown option to stop rotors after chassis powerdownRaptor Engineering Development Team2019-04-191-1/+4
|
* Fix exit status codesWilliam A. Kennington III2018-10-191-1/+1
| | | | | | | | | | Using an exit status of -1 everywhere leads to the status being converted to 255 when output to a calling application. While this does signify an error it has a reserved meaning for exit status out of range. Lets use a valid general exit status of 1 instead. Change-Id: I326701c78985e34c430c258fe31d9e910da10405 Signed-off-by: William A. Kennington III <wak@google.com>
* Have cooling-type use the common argument.hppMatt Spinler2017-05-241-0/+1
| | | | | | | | | | | | The cooling-type application should use the common header file for the ArgumentParser class now that one is available. Also fixed where a static ArgumentParser constant was being initialized. Change-Id: I1fb0dfe3bd0c6e0200ad7c718ef2a3def5476f3f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* ArgumentParser for fan controlMatt Spinler2017-05-161-0/+90
Parses arguments for phosphor-fan-control. The header file is in the base directory of the repository and can be common to all fan applications. The cpp file needs to be in the subdirectory of the application that uses it, in this case control. Change-Id: I93dba60daf8f78667df970ab47ec018d90a8c14f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
OpenPOWER on IntegriCloud