cli: merge 'fields' with 'info' command

Update the 'info' command to handle 'fields' as well; remove
fields.
This commit is contained in:
Dirk-Jan C. Binnema
2023-07-03 18:44:13 +03:00
parent 5e184a581f
commit 9004363aa5
11 changed files with 227 additions and 206 deletions

View File

@ -50,7 +50,6 @@ man_orgs=[
'mu-cfind.1.org',
'mu-easy.7.org',
'mu-extract.1.org',
'mu-fields.1.org',
'mu-find.1.org',
'mu-help.1.org',
'mu-index.1.org',

View File

@ -1,24 +0,0 @@
#+TITLE: MU FIELDS
#+MAN_CLASS_OPTIONS: :section-id "@SECTION_ID@" :date "@MAN_DATE@"
* NAME
*mu fields* - list all message fields
* SYNOPSIS
*mu [common-options] fields
* DESCRIPTION
*mu fields* is the *mu* command for showing a table of message fields and their
properties.
#+include: "common-options.inc" :minlevel 1
#+include: "prefooter.inc" :minlevel 1
* SEE ALSO
*mu(1)*

View File

@ -3,15 +3,21 @@
* NAME
~mu info~ - show information about the mu database
~mu info~ - show information
* SYNOPSIS
*mu [common options] info*
*mu [common options] info [<topic>]*
* DESCRIPTION
~mu info~ is the ~mu~ command for getting information about the mu database. Note
~mu info~ is the ~mu~ command for getting information about various topics:
- *common*: general mu build information
- *store*: information about the message store
- *fields*: table with all the query fields and flags
about the mu database. Note
that while running (e.g. ~mu4e~), some of the information may be slightly delayed
due to database caching.
@ -23,4 +29,4 @@ due to database caching.
* SEE ALSO
*maildir(5)*, *mu(1)*
*mu(1)*