Browse Source

Fix #66: Actually update man page with new and changed settings

- Order commands and options similar to help text, not alphabetically
- Update command descriptions to new nomenclature
- Update copyright years

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 5 years ago
parent
commit
1285c7412d
1 changed files with 23 additions and 47 deletions
  1. 23
    47
      light.1

+ 23
- 47
light.1 View File

@@ -28,64 +28,40 @@ the display to be pitch black at a vaĺue of 0 (or higher)
28 28
 The following unique commands are supported:
29 29
 .Pp
30 30
 .Bl -tag -width Ds
31
-.It Fl A
32
-Add value
33
-.It Fl G
34
-Get value, default
35 31
 .It Fl H , Fl h
36 32
 Show help text and exit
37
-.It Fl I
38
-Restore brightness
39
-.It Fl L
40
-List controllers
41
-.It Fl O
42
-Save brightness
43
-.It Fl S
44
-Set value
45
-.It Fl U
46
-Subtract value
47 33
 .It Fl V
48 34
 Show program version and exit
35
+.It Fl L
36
+List available devices
37
+.It Fl A
38
+Increase brightness by value
39
+.It Fl U
40
+Decrease brightness by value
41
+.It Fl S
42
+Set brightness to value
43
+.It Fl G
44
+Get brightness, default
45
+.It Fl N
46
+Set minimum brightness to value
47
+.It Fl P
48
+Get minimum brightness
49
+.It Fl I
50
+Save current brightness
51
+.It Fl O
52
+Restore previously saved brightness
49 53
 .El
50 54
 .Sh OPTIONS
51 55
 The behavior of the above commands can be modified using these options:
52 56
 .Pp
53 57
 .Bl -tag -width Ds
54
-.It Fl b
55
-Set
56
-.Fl S ,
57
-Get
58
-.Fl G ,
59
-Add
60
-.Fl A ,
61
-or Subtract
62
-.Fl U
63
-active brightness, default
64
-.It Fl k
65
-Act on keyboard backlight
66
-.It Fl l
67
-Act on display backlight, default
68
-.It Fl m
69
-Get
70
-.Fl G
71
-maximum brightness
72
-.It Fl c
73
-Set
74
-.Fl S
75
-or get
76
-.Fl G
77
-minimum cap for brightness
78
-.It Fl a
79
-Select controller automatically, default
80
-.It Fl p
81
-Interpret input and output values in percent, default
82 58
 .It Fl r
83 59
 Interpret input and output values in raw mode
84
-.It Fl s Ar ARG
85
-Specify controller to use.  Use
60
+.It Fl s Ar PATH
61
+Specify device target path.  Use
86 62
 .Fl L
87
-to list available controllers
88
-.It Fl v Ar ARG
63
+to list available devices
64
+.It Fl v Ar LEVEL
89 65
 Set verbosity level, by default
90 66
 .Nm
91 67
 only outputs read values:
@@ -110,7 +86,7 @@ In its non-priviliged mode of operation the
110 86
 .Pa ~/.cache/light
111 87
 directory is used instead.
112 88
 .Sh AUTHORS
113
-Copyright \(co 2014-2018 Fredrik Haikarainen
89
+Copyright \(co 2012-2018 Fredrik Haikarainen
114 90
 .Pp
115 91
 This is free software, see the source for copying conditions.  There is NO
116 92
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE