|
@@ -37,7 +37,8 @@ LIGHT_BOOL light_checkOperations()
|
37
|
37
|
switch (light_Configuration.field) {
|
38
|
38
|
case LIGHT_BRIGHTNESS:
|
39
|
39
|
if(op != LIGHT_GET && op != LIGHT_SET &&
|
40
|
|
- op != LIGHT_ADD && op != LIGHT_SUB)
|
|
40
|
+ op != LIGHT_ADD && op != LIGHT_SUB &&
|
|
41
|
+ op != LIGHT_SAVE && op != LIGHT_RESTORE)
|
41
|
42
|
{
|
42
|
43
|
valid = FALSE;
|
43
|
44
|
fprintf(stderr, "Wrong operation specified for brightness. You can use only -G -S -A or -U\n\n");
|