intel / ledmon

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

ledctl: new method of parsing parameters #151

Closed pawpiatko closed 8 months ago

pawpiatko commented 10 months 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.

mtkaczyk commented 8 months ago

@ktanska/@bkucman I need approve to merge :)