Hummer12007 / brightnessctl

A program to read and control device brightness
Other
900 stars 48 forks source link

Consistent order of options and operation #111

Open herrkami opened 1 month ago

herrkami commented 1 month ago

According to the man page, the order of options, operation, and value is

brightnessctl [options] [operation] [value...]

Contrary to this, brightnessctl s 10%- -e 4 -n 100 works on my setup while brightnessctl -e 4 -n 100 s +10% does not. brightnessctl -e 4 -n 100 s 10% neither works.

Therefore, either the man page seems to be misleading or wrong, or the arguments are not being parsed correctly. (Unless the bug is in my head of course.)

Be it as it may, it would be great if the man page also included some examples with options. So far, we only have six examples that illustrate how values are being parsed and formatted.

Im using version 0.5.1-3.