]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
backlight: accept '%' in the brightness input value
authorBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 6 Oct 2020 08:05:19 +0000 (08:05 +0000)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 6 Oct 2020 08:05:19 +0000 (08:05 +0000)
commit4d1308f49b1d6896f4b864bf3346ead5ff7ee0d0
tree9953e7b6e880d8b10f155920fbed32e3dd2b0321
parent194d5628721f6a306aa94f7e33be909f1ab16b49
backlight: accept '%' in the brightness input value

Improve friendlyness of the command line by accepting the percent brightness
in both format: with or without a trailing '%'

Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D26692
usr.bin/backlight/backlight.8
usr.bin/backlight/backlight.c