Skip to content

Commit 6439d35

Browse files
committed
docs(man): improve miniflux.1 consistency and fix typos
1 parent a33cfb2 commit 6439d35

File tree

2 files changed

+39
-30
lines changed

2 files changed

+39
-30
lines changed

internal/cli/cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ const (
3030
flagDebugModeHelp = "Show debug logs"
3131
flagConfigFileHelp = "Load configuration file"
3232
flagConfigDumpHelp = "Print parsed configuration values"
33-
flagHealthCheckHelp = `Perform a health check on the given endpoint (the value "auto" try to guess the health check endpoint).`
33+
flagHealthCheckHelp = `Perform a health check on the given endpoint (the value "auto" tries to guess the health check endpoint).`
3434
flagRefreshFeedsHelp = "Refresh a batch of feeds and exit"
35-
flagRunCleanupTasksHelp = "Run cleanup tasks (delete old sessions and archives old entries)"
35+
flagRunCleanupTasksHelp = "Run cleanup tasks (delete old sessions and archive old entries)"
3636
flagExportUserFeedsHelp = "Export user feeds (provide the username as argument)"
3737
flagResetNextCheckAtHelp = "Reset the next check time for all feeds"
3838
)

miniflux.1

Lines changed: 37 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
.\" Manpage for miniflux.
2-
.TH "MINIFLUX" "1" "January 3, 2026" "\ \&" "\ \&"
2+
.TH "MINIFLUX" "1" "January 5, 2026" "\ \&" "\ \&"
33

44
.SH NAME
55
miniflux \- Minimalist and opinionated feed reader
66

77
.SH SYNOPSIS
8-
\fBminiflux\fR [-vic] [-config-dump] [-config-file] [-create-admin] [-debug]
9-
[-flush-sessions] [-healthcheck] [-info] [-migrate] [-refresh-feeds]
10-
[-reset-feed-errors] [-reset-feed-next-check-at] [-reset-password]
11-
[-run-cleanup-tasks] [-version]
8+
\fBminiflux\fR [\fBoptions\fR]
129

1310
.SH DESCRIPTION
1411
\fBminiflux\fR is a minimalist and opinionated feed reader.
1512

1613
.SH OPTIONS
1714
.PP
15+
.B \-h, \-help
16+
.RS 4
17+
Show usage information and exit\&.
18+
.RE
19+
.PP
1820
.B \-config-dump
1921
.RS 4
2022
Print parsed configuration values. This will include sensitive information like passwords\&.
@@ -44,7 +46,10 @@ Set log level to debug\&.
4446
.RS 4
4547
Export user feeds (provide the username as argument)\&.
4648
.br
47-
Example: "miniflux -export-user-feeds someone > feeds.xml"\&.
49+
Example:
50+
.EX
51+
miniflux -export-user-feeds someone > feeds.xml
52+
.EE
4853
.RE
4954
.PP
5055
.B \-flush-sessions
@@ -56,7 +61,7 @@ Flush all sessions (disconnect users)\&.
5661
.RS 4
5762
Perform a health check on the given endpoint\&.
5863
.br
59-
The value "auto" try to guess the health check endpoint\&.
64+
The value "auto" tries to guess the health check endpoint\&.
6065
.RE
6166
.PP
6267
.B \-i
@@ -96,7 +101,7 @@ Reset user password\&.
96101
.PP
97102
.B \-run-cleanup-tasks
98103
.RS 4
99-
Run cleanup tasks (delete old sessions and archives old entries)\&.
104+
Run cleanup tasks (delete old sessions and archive old entries)\&.
100105
.RE
101106
.PP
102107
.B \-v
@@ -110,7 +115,7 @@ Show application version\&.
110115
.RE
111116

112117
.SH CONFIGURATION FILE
113-
The configuration file is a text file that follow these rules:
118+
The configuration file is a text file that follows these rules:
114119
.LP
115120
- Miniflux expects each line to be in KEY=VALUE format.
116121
.br
@@ -120,29 +125,33 @@ The configuration file is a text file that follow these rules:
120125
.br
121126
- There is no variable interpolation.
122127
.PP
123-
Keys are the same as the environment variables described below.
128+
Keys are the same as the environment variables described below\&.
124129
.br
125-
Environment variables override the values defined in the config file.
130+
Environment variables override the values defined in the config file\&.
126131

127132
.SH ENVIRONMENT
133+
.PP
134+
Boolean options accept the following values (case-insensitive): 1/0, yes/no, true/false, on/off\&.
135+
.br
136+
For variables ending in \fB_FILE\fR, the value is a path to a file that contains the corresponding secret value\&.
128137
.TP
129138
.B ADMIN_PASSWORD
130-
Admin user password, used only if $CREATE_ADMIN is enabled\&.
139+
Admin user password, used only if \fBCREATE_ADMIN\fR is enabled\&.
131140
.br
132141
Default is empty\&.
133142
.TP
134143
.B ADMIN_PASSWORD_FILE
135-
Path to a secret key exposed as a file, it should contain $ADMIN_PASSWORD value\&.
144+
Path to a secret key exposed as a file, it should contain the \fBADMIN_PASSWORD\fR value\&.
136145
.br
137146
Default is empty\&.
138147
.TP
139148
.B ADMIN_USERNAME
140-
Admin user login, used only if $CREATE_ADMIN is enabled\&.
149+
Admin user login, used only if \fBCREATE_ADMIN\fR is enabled\&.
141150
.br
142151
Default is empty\&.
143152
.TP
144153
.B ADMIN_USERNAME_FILE
145-
Path to a secret key exposed as a file, it should contain $ADMIN_USERNAME value\&.
154+
Path to a secret key exposed as a file, it should contain the \fBADMIN_USERNAME\fR value\&.
146155
.br
147156
Default is empty\&.
148157
.TP
@@ -161,7 +170,7 @@ Disabled by default\&.
161170
.B BASE_URL
162171
Base URL to generate HTML links and base path for cookies\&.
163172
.br
164-
Default is http://localhost/\&.
173+
Default is http://localhost\&.
165174
.TP
166175
.B BATCH_SIZE
167176
Number of feeds to send to the queue for each interval\&.
@@ -228,12 +237,12 @@ Minimum number of database connections\&.
228237
Default is 1\&.
229238
.TP
230239
.B DATABASE_URL
231-
Postgresql connection parameters\&.
240+
PostgreSQL connection parameters\&.
232241
.br
233242
Default is "user=postgres password=postgres dbname=miniflux2 sslmode=disable"\&.
234243
.TP
235244
.B DATABASE_URL_FILE
236-
Path to a secret key exposed as a file, it should contain $DATABASE_URL value\&.
245+
Path to a secret key exposed as a file, it should contain the \fBDATABASE_URL\fR value\&.
237246
.br
238247
Default is empty\&.
239248
.TP
@@ -290,9 +299,9 @@ use it as a reading time\&.
290299
Disabled by default\&.
291300
.TP
292301
.B FILTER_ENTRY_MAX_AGE_DAYS
293-
Number of days after which new entries should be retained\&.
302+
Ignore new entries older than the given number of days\&.
294303
.br
295-
Set 7 to fetch only entries 7 days old\&.
304+
Set to 7 to fetch only entries from the last 7 days\&.
296305
.br
297306
Default is 0 (disabled)\&.
298307
.TP
@@ -317,7 +326,7 @@ Proxy URL to use when the "Fetch via proxy" feed option is enabled\&.
317326
Default is empty\&.
318327
.TP
319328
.B HTTP_CLIENT_TIMEOUT
320-
Time limit in seconds before the HTTP client cancel the request\&.
329+
Time limit in seconds before the HTTP client cancels the request\&.
321330
.br
322331
Default is 20 seconds\&.
323332
.TP
@@ -329,7 +338,7 @@ When empty, Miniflux uses a default User-Agent that includes the Miniflux versio
329338
Default is empty.
330339
.TP
331340
.B HTTP_SERVER_TIMEOUT
332-
Time limit in seconds before the HTTP client cancel the request\&.
341+
Read, write, and idle timeout in seconds for the HTTP server\&.
333342
.br
334343
Default is 300 seconds\&.
335344
.TP
@@ -396,7 +405,7 @@ Sets an external server to proxy media through\&.
396405
Default is empty, Miniflux does the proxying\&.
397406
.TP
398407
.B MEDIA_PROXY_HTTP_CLIENT_TIMEOUT
399-
Time limit in seconds before the media proxy HTTP client cancel the request\&.
408+
Time limit in seconds before the media proxy HTTP client cancels the request\&.
400409
.br
401410
Default is 120 seconds\&.
402411
.TP
@@ -416,7 +425,7 @@ Possible values: http-only, all, or none\&.
416425
Default is http-only\&.
417426
.TP
418427
.B MEDIA_PROXY_PRIVATE_KEY
419-
Set a custom custom private key used to sign proxified media URLs\&.
428+
Set a custom private key used to sign proxified media URLs\&.
420429
.br
421430
By default, a secret key is randomly generated during startup\&.
422431
.TP
@@ -461,7 +470,7 @@ OAuth2 client ID\&.
461470
Default is empty\&.
462471
.TP
463472
.B OAUTH2_CLIENT_ID_FILE
464-
Path to a secret key exposed as a file, it should contain $OAUTH2_CLIENT_ID value\&.
473+
Path to a secret key exposed as a file, it should contain the \fBOAUTH2_CLIENT_ID\fR value\&.
465474
.br
466475
Default is empty\&.
467476
.TP
@@ -471,7 +480,7 @@ OAuth2 client secret\&.
471480
Default is empty\&.
472481
.TP
473482
.B OAUTH2_CLIENT_SECRET_FILE
474-
Path to a secret key exposed as a file, it should contain $OAUTH2_CLIENT_SECRET value\&.
483+
Path to a secret key exposed as a file, it should contain the \fBOAUTH2_CLIENT_SECRET\fR value\&.
475484
.br
476485
Default is empty\&.
477486
.TP
@@ -539,7 +548,7 @@ Regardless of the scheduler used, the total number of polled feeds will not exce
539548
Default is "round_robin"\&.
540549
.TP
541550
.B PORT
542-
Override LISTEN_ADDR to 0.0.0.0:$PORT\&.
551+
Override \fBLISTEN_ADDR\fR to \fB0.0.0.0:$PORT\fR\&.
543552
.br
544553
Default is empty\&.
545554
.TP
@@ -606,7 +615,7 @@ YouTube URL which will be used for embeds\&.
606615
Default is https://www.youtube-nocookie.com/embed/\&.
607616
.SH AUTHORS
608617
.P
609-
Miniflux is written and maintained by Fr\['e]d\['e]ric Guillot\&.
618+
Miniflux is developed and maintained by Fr\['e]d\['e]ric Guillot with contributions from the Miniflux community\&.
610619

611620
.SH "COPYRIGHT"
612621
.P

0 commit comments

Comments
 (0)