sct

set color temperature
git clone anongit@rnpnr.xyz:sct.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 3f2871c6fb22f4065dff1c7b23a96a663a68df1d
Parent: cb3b365a8380cf0d65c3d2218243c27d18501d3c
Author: Randy Palamar
Date:   Tue, 25 Apr 2023 08:12:57 -0600

print usage() when -d is passed with extra args

Diffstat:
Msct.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/sct.c b/sct.c @@ -204,6 +204,9 @@ main(int argc, char **argv) break; } ARGEND; + if (delta != 0 && argc) + usage(); + switch (argc) { case 2: ts.brightness = atof(argv[1]);