man: small improvements

This commit is contained in:
Dirk-Jan C. Binnema 2023-07-02 11:17:55 +03:00
parent 60b1a5dff7
commit 8fdbe95527
4 changed files with 15 additions and 22 deletions

View File

@ -2,7 +2,7 @@
This manpage is part of ~mu~ @VERSION@. This manpage is part of ~mu~ @VERSION@.
Copyright © 2022-@YEAR@ Dirk-Jan C. Binnema. License GPLv3+: GNU GPL version 3 Copyright © 2008-@YEAR@ Dirk-Jan C. Binnema. License GPLv3+: GNU GPL version 3
or later <https://gnu.org/licenses/gpl.html>. This is free software: you are or later <https://gnu.org/licenses/gpl.html>. This is free software: you are
free to change and redistribute it. There is NO WARRANTY, to the extent free to change and redistribute it. There is NO WARRANTY, to the extent
permitted by law. permitted by law.

View File

@ -1,20 +1,12 @@
* EXIT CODE * EXIT CODE
This command returns 0 upon successful completion, or a non-zero exit code This command returns 0 upon successful completion, or a non-zero exit code
otherwise. Typical values are 2 (no matches found), 11 (database schema otherwise.
mismatch) and 12 (failed to acquire database lock).
** no matches found (2) 0. success
2. no matches found. Try a different query
Nothing matching found; try a different query 11. database schema mismatch. You need to re-initialize ~mu~, see *mu-init(1*)
19. failed to acquire lock. Some other program has exclusive access to the mu database
** database schema mismatch (11)
You need to re-initialize ~mu~, see *mu-init(1*)
** failed to acquire lock (19)
Some other program has exclusive access to the mu (Xapian) database
# Local Variables: # Local Variables:
# mode: org # mode: org

View File

@ -219,7 +219,9 @@ description: http://www.jwz.org/doc/threading.html
#+include: "common-options.inc" :minlevel 1 #+include: "common-options.inc" :minlevel 1
* Integrating mu find with mail clients * INTEGRATION
It is possible to integrate *mu find* with some mail clients
** *mutt* ** *mutt*
@ -268,9 +270,8 @@ After restarting Wanderlust, the virtual folders should appear.
* ENCODING * ENCODING
*mu find* output is encoded according the locale for =--format=plain= *mu find* output is encoded according to the locale for =--format=plain= (the
(the default), and UTF-8 for all other formats (=sexp=, default format), and UTF-8 for all other formats (=sexp=, =xml=).
=xml=).
#+include: "exit-code.inc" :minlevel 1 #+include: "exit-code.inc" :minlevel 1

View File

@ -49,15 +49,15 @@ reinitialize the database from an earlier version; that is, create a new empty
database with the existing settings. This cannot be combined with the other ~init~ database with the existing settings. This cannot be combined with the other ~init~
options. options.
#+include: "muhome.inc" :minlevel 2
#+include: "exit-code.inc" :minlevel 1
* EXAMPLE * EXAMPLE
#+begin_example #+begin_example
$ mu init --maildir=~/Maildir --my-address=alice@example.com --my-address=bob@example.com --ignored-address='/.*reply.*/' $ mu init --maildir=~/Maildir --my-address=alice@example.com --my-address=bob@example.com --ignored-address='/.*reply.*/'
#+end_example #+end_example
#+include: "exit-code.inc" :minlevel 1
#+include: "muhome.inc" :minlevel 2
#+include: "prefooter.inc" :minlevel 1 #+include: "prefooter.inc" :minlevel 1
* SEE ALSO * SEE ALSO