Browse Source

Fix #66: Align man page with help text

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 6 years ago
parent
commit
b266f86b2f
1 changed files with 7 additions and 11 deletions
  1. 7
    11
      light.1

+ 7
- 11
light.1 View File

7
 .Nd a program to control backlight controllers
7
 .Nd a program to control backlight controllers
8
 .Sh SYNOPSIS
8
 .Sh SYNOPSIS
9
 .Nm light
9
 .Nm light
10
-.Op Fl abcGhHkIlLmOprV
11
-.Op Fl s Ar ARG
12
-.Op Fl v Ar LEVEL
13
-.Op Fl A Ar VAL
14
-.Op Fl S Ar VAL
15
-.Op Fl U Ar VAL
10
+.Op Ar OPTIONS
11
+.Op Ar VALUE
16
 .Sh DESCRIPTION
12
 .Sh DESCRIPTION
17
 .Nm
13
 .Nm
18
 is a program to control backlight display and keyboard controllers under
14
 is a program to control backlight display and keyboard controllers under
32
 The following unique commands are supported:
28
 The following unique commands are supported:
33
 .Pp
29
 .Pp
34
 .Bl -tag -width Ds
30
 .Bl -tag -width Ds
35
-.It Fl A Ar VAL
31
+.It Fl A
36
 Add value
32
 Add value
37
 .It Fl G
33
 .It Fl G
38
 Get value, default
34
 Get value, default
44
 List controllers
40
 List controllers
45
 .It Fl O
41
 .It Fl O
46
 Save brightness
42
 Save brightness
47
-.It Fl S Ar VAL
43
+.It Fl S
48
 Set value
44
 Set value
49
-.It Fl U Ar VAL
45
+.It Fl U
50
 Subtract value
46
 Subtract value
51
 .It Fl V
47
 .It Fl V
52
 Show program version and exit
48
 Show program version and exit
70
 .It Fl l
66
 .It Fl l
71
 Act on display backlight, default
67
 Act on display backlight, default
72
 .It Fl m
68
 .It Fl m
73
-Get 
69
+Get
74
 .Fl G
70
 .Fl G
75
 maximum brightness
71
 maximum brightness
76
 .It Fl c
72
 .It Fl c
114
 .Pa ~/.cache/light
110
 .Pa ~/.cache/light
115
 directory is used instead.
111
 directory is used instead.
116
 .Sh AUTHORS
112
 .Sh AUTHORS
117
-Copyright \(co 2014 Fredrik Haikarainen
113
+Copyright \(co 2014-2018 Fredrik Haikarainen
118
 .Pp
114
 .Pp
119
 This is free software, see the source for copying conditions.  There is NO
115
 This is free software, see the source for copying conditions.  There is NO
120
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
116
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE