What is the expected behavior of hpireset if run without any arguments? It currently calls ResetStateSet API with an invalid action as action doesn't get initialized when it gets run with no arguments. This can be fixed on couple of ways depending on the expected behavior:
Option 1: Check for no arguments case and print usage message and exit. Option 2: Initialize action to a default value example warm reset. Option 1 is a safer choice. I am currently working on version strings patch which will touch this file. I thought I would take care of this as well. Thanks, -- Shuah ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Openhpi-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openhpi-devel
