Bläddra i källkod

Merge branch 'alexmohr-master'

Joachim Nilsson 5 år sedan
förälder
incheckning
311b09e489
3 ändrade filer med 6 tillägg och 6 borttagningar
  1. 2
    2
      README.md
  2. 2
    2
      light.1
  3. 2
    2
      src/light.c

+ 2
- 2
README.md Visa fil

@@ -87,8 +87,8 @@ You may only specify one command flag at a time. These flags decide what the pro
87 87
 *  `-G` Get brightness
88 88
 *  `-N` Set minimum brightness to value (value needed!)
89 89
 *  `-P` Get minimum brightness
90
-*  `-I` Save the current brightness
91
-*  `-O` Restore the previously saved brightness
90
+*  `-O` Save the current brightness
91
+*  `-I` Restore the previously saved brightness
92 92
 
93 93
 Without any extra options, the command will operate on the device called `sysfs/backlight/auto`, which works as it's own device however it proxies the backlight device that has the highest controller resolution (read: highest precision). Values are interpreted and printed as percentage between 0.0 - 100.0.
94 94
 

+ 2
- 2
light.1 Visa fil

@@ -46,9 +46,9 @@ Get brightness, default
46 46
 Set minimum brightness to value
47 47
 .It Fl P
48 48
 Get minimum brightness
49
-.It Fl I
50
-Save current brightness
51 49
 .It Fl O
50
+Save current brightness
51
+.It Fl I
52 52
 Restore previously saved brightness
53 53
 .El
54 54
 .Sh OPTIONS

+ 2
- 2
src/light.c Visa fil

@@ -195,8 +195,8 @@ static void _light_print_usage()
195 195
         "  -G          Get brightness\n"
196 196
         "  -N          Set minimum brightness to value\n"
197 197
         "  -P          Get minimum brightness\n"
198
-        "  -I          Save the current brightness\n"
199
-        "  -O          Restore the previously saved brightness\n"
198
+        "  -O          Save the current brightness\n"
199
+        "  -I          Restore the previously saved brightness\n"
200 200
 
201 201
 
202 202
         "\n"