mu: support MUHOME environment variable
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
.TH MU-INIT 1 "January 2022" "User Manuals"
|
||||
.TH MU-INIT 1 "May 2022" "User Manuals"
|
||||
|
||||
.SH NAME
|
||||
|
||||
@ -23,8 +23,12 @@ man-page and not here, as they apply to multiple mu commands.
|
||||
\fB\-\-muhome\fR
|
||||
use an alternative directory to store and read the database, write the logs,
|
||||
etc. By default, \fBmu\fR uses XDG Base Directory Specification (e.g. on Linux
|
||||
this defaults to \fI~/.cache/mu\fR, \fI~/.config/mu\fR). Earlier versions of
|
||||
\fBmu\fR defaulted to \fI~/.mu\fR, which now requires \fI\-\-muhome=~/.mu\fR.
|
||||
this defaults to \fI~/.cache/mu\fR, \fI~/.config/mu\fR).
|
||||
|
||||
Earlier versions of \fBmu\fR defaulted to \fI~/.mu\fR, which now requires
|
||||
\fI\-\-muhome=~/.mu\fR.
|
||||
|
||||
Alternatively, use can use the \fBMUHOME\fR environment variable (the command-line takes precedence).
|
||||
|
||||
.TP
|
||||
\fB\-m\fR, \fB\-\-maildir\fR=\fI<maildir>\fR
|
||||
@ -52,6 +56,8 @@ shell program, the argument may need to b quoted.
|
||||
specified explicitly with \fB\-\-maildir\fR=\fI<maildir>\fR. If \fBMAILDIR\fR is
|
||||
not set, \fBmu init\fR uses \fI~/Maildir\fR.
|
||||
|
||||
\fBMUHOME\fR can be used as an alternative to \fB\-\-muhome\fR.
|
||||
|
||||
.SH RETURN VALUE
|
||||
|
||||
\fBmu init\fR returns 0 upon successful completion, or a non-zero exit code if
|
||||
|
||||
8
man/mu.1
8
man/mu.1
@ -1,4 +1,4 @@
|
||||
.TH MU 1 "February 2021" "User Manuals"
|
||||
.TH MU 1 "May 2022" "User Manuals"
|
||||
|
||||
.SH NAME
|
||||
|
||||
@ -162,6 +162,12 @@ prints \fBmu\fR version and copyright information.
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
lists the various command line options.
|
||||
|
||||
.SH ENVIRONMENT
|
||||
|
||||
\fBMUHOME\fR can be used as an alternative to \fB\-\-muhome\fR. The latter has precedence.
|
||||
|
||||
\fBNO_COLOR\fR can be used as an alternative to \fB\-\-nocolor\fR.
|
||||
|
||||
.SH ERROR CODES
|
||||
|
||||
The various mu subcommands typically exit with 0 (zero) upon success, and
|
||||
|
||||
Reference in New Issue
Block a user