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 6 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
 The following unique commands are supported:
28
 The following unique commands are supported:
29
 .Pp
29
 .Pp
30
 .Bl -tag -width Ds
30
 .Bl -tag -width Ds
31
-.It Fl A
32
-Add value
33
-.It Fl G
34
-Get value, default
35
 .It Fl H , Fl h
31
 .It Fl H , Fl h
36
 Show help text and exit
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
 .It Fl V
33
 .It Fl V
48
 Show program version and exit
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
 .El
53
 .El
50
 .Sh OPTIONS
54
 .Sh OPTIONS
51
 The behavior of the above commands can be modified using these options:
55
 The behavior of the above commands can be modified using these options:
52
 .Pp
56
 .Pp
53
 .Bl -tag -width Ds
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
 .It Fl r
58
 .It Fl r
83
 Interpret input and output values in raw mode
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
 .Fl L
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
 Set verbosity level, by default
65
 Set verbosity level, by default
90
 .Nm
66
 .Nm
91
 only outputs read values:
67
 only outputs read values:
110
 .Pa ~/.cache/light
86
 .Pa ~/.cache/light
111
 directory is used instead.
87
 directory is used instead.
112
 .Sh AUTHORS
88
 .Sh AUTHORS
113
-Copyright \(co 2014-2018 Fredrik Haikarainen
89
+Copyright \(co 2012-2018 Fredrik Haikarainen
114
 .Pp
90
 .Pp
115
 This is free software, see the source for copying conditions.  There is NO
91
 This is free software, see the source for copying conditions.  There is NO
116
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
92
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE