瀏覽代碼

Fix #66: Align man page with help text

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 6 年之前
父節點
當前提交
b266f86b2f
共有 1 個文件被更改,包括 7 次插入11 次删除
  1. 7
    11
      light.1

+ 7
- 11
light.1 查看文件

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