intel / ledmon

Enclosure LED Utilities
GNU General Public License v2.0
72 stars 49 forks source link

ledctl: new method of parsing parameters #149

Closed pawpiatko closed 1 year ago

pawpiatko commented 1 year ago

Now modes will be validated before parameters. It requires mode to be given first then the rest of parameters.

Add lists with possible options for supported modes

Rename slot_request to request becouse now this stracture represents all request (not only slot requests). Change logic in parsing non_root function to check first parameter only.