Skip to content

Commit c7d65d1

Browse files
committed
man page: Remove empty lines
As pointed out by @niten94, empty lines in the man page are not just unnecessary but also cause extra empty lines to be displayed with alternative `man` implementations, e.g. `mandoc`. To test on Debian, for example, mandoc's implementation is named `mman` and included in the `mandoc` package.
1 parent 2b5eb3e commit c7d65d1

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

assets/packaging/micro.1

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,26 @@ micro \- A modern and intuitive terminal-based text editor
1111
.RI [ OPTION ]...\&
1212
.RI [ FILE [: LINE [: COL ]]]...\&
1313
\& (only if the `parsecursor` option is enabled)
14-
1514
.SH DESCRIPTION
16-
1715
Micro is a terminal-based text editor that aims to be easy to use and intuitive, while also taking advantage of the full capabilities
1816
of modern terminals. It comes as one single, batteries-included, static binary with no dependencies.
1917

2018
As the name indicates, micro aims to be somewhat of a successor to the nano editor by being easy to install and use in a pinch, but micro also aims to be
2119
enjoyable to use full time, whether you work in the terminal because you prefer it (like me), or because you need to (over ssh).
2220

2321
Use Ctrl-q to quit, Ctrl-s to save, and Ctrl-g to open the in-editor help menu.
24-
2522
.SH OPTIONS
2623
.PP
2724
.B \-clean
2825
.RS 4
2926
Clean the configuration directory and exit
3027
.RE
31-
3228
.PP
3329
.B \-config-dir
3430
.I dir
3531
.RS 4
3632
Specify a custom location for the configuration directory
3733
.RE
38-
3934
.PP
4035
.IR FILE : LINE [: COL ]
4136
(only if the `parsecursor` option is enabled)
@@ -44,25 +39,21 @@ Specify a custom location for the configuration directory
4439
.RS 4
4540
Specify a line and column to start the cursor at when opening a buffer
4641
.RE
47-
4842
.PP
4943
.B \-options
5044
.RS 4
5145
Show all options help and exit
5246
.RE
53-
5447
.PP
5548
.B \-debug
5649
.RS 4
5750
Enable debug mode (enables logging to ./log.txt)
5851
.RE
59-
6052
.PP
6153
.B \-profile
6254
.RS 4
6355
Enable CPU profiling (writes profile info to ./micro.prof so it can be analyzed later with "go tool pprof micro.prof")
6456
.RE
65-
6657
.PP
6758
.B \-version
6859
.RS 4
@@ -71,41 +62,35 @@ Show the version number and information and exit
7162

7263
Micro's plugins can be managed at the command line with the following commands.
7364
.RS 4
74-
7565
.PP
7666
.B \-plugin install
7767
.RI [ PLUGIN ]...
7868
.RS 4
7969
Install plugin(s)
8070
.RE
81-
8271
.PP
8372
.B \-plugin remove
8473
.RI [ PLUGIN ]...
8574
.RS 4
8675
Remove plugin(s)
8776
.RE
88-
8977
.PP
9078
.B \-plugin update
9179
.RI [ PLUGIN ]...
9280
.RS 4
9381
Update plugin(s) (if no argument is given, updates all plugins)
9482
.RE
95-
9683
.PP
9784
.B \-plugin search
9885
.RI [ PLUGIN ]...
9986
.RS 4
10087
Search for a plugin
10188
.RE
102-
10389
.PP
10490
.B \-plugin list
10591
.RS 4
10692
List installed plugins
10793
.RE
108-
10994
.PP
11095
.B \-plugin available
11196
.RS 4
@@ -117,7 +102,6 @@ Micro's options can also be set via command line arguments for quick
117102
adjustments. For real configuration, please use the settings.json
118103
file (see 'help options').
119104
.RS 4
120-
121105
.PP
122106
.BI \-< option >
123107
.I value
@@ -127,31 +111,24 @@ Set `option` to `value` for this session.
127111
For example: `micro -syntax off file.c`
128112
.RE
129113
.RE
130-
131114
.PP
132115
Use `micro -options` to see the full list of configuration options.
133-
134-
135116
.SH CONFIGURATION
136-
137117
Micro uses $MICRO_CONFIG_HOME as the configuration directory.
138118
If this environment variable is not set, it uses $XDG_CONFIG_HOME/micro instead.
139119
If that environment variable is not set, it uses ~/.config/micro as the configuration directory.
140120
In the documentation, we use ~/.config/micro to refer to the configuration directory
141121
(even if it may in fact be somewhere else if you have set either of the above environment variables).
142-
143122
.SH NOTICE
144123
This manpage is intended only to serve as a quick guide to the invocation of
145124
micro and is not intended to replace the full documentation included with micro
146125
which can be accessed from within micro. Micro tells you what key combination to
147126
press to get help in the lower right.
148-
149127
.SH BUGS
150128
A comprehensive list of bugs will not be listed in this manpage. See the Github
151129
page at \fBhttps://github.com/zyedidia/micro/issues\fP for a list of known bugs
152130
and to report any newly encountered bugs you may find. We strive to correct
153131
bugs as swiftly as possible.
154-
155132
.SH COPYRIGHT
156133
Copyright \(co 2020 Zachary Yedidia, et al. MIT license.
157134
See \fBhttps://github.com/zyedidia/micro\fP for details.

0 commit comments

Comments
 (0)