mu-config: cosmetic

This commit is contained in:
Dirk-Jan C. Binnema 2022-03-05 00:40:06 +02:00
parent 52c31afef1
commit 2e3fdfaeac
1 changed files with 25 additions and 25 deletions

View File

@ -22,7 +22,7 @@
#include <glib.h> #include <glib.h>
#include <sys/types.h> /* for mode_t */ #include <sys/types.h> /* for mode_t */
#include <mu-msg-fields.h> #include <mu-message.hh>
#include <mu-msg.hh> #include <mu-msg.hh>
#include <utils/mu-util.h> #include <utils/mu-util.h>
@ -87,9 +87,9 @@ typedef enum {
struct _MuConfig { struct _MuConfig {
MuConfigCmd cmd; /* the command, or MuConfigCmd cmd; /* the command, or
* MU_CONFIG_CMD_NONE */ * MU_CONFIG_CMD_NONE */
char* cmdstr; /* cmd string, for user char* cmdstr; /* cmd string, for user
* info */ * info */
/* general options */ /* general options */
gboolean quiet; /* don't give any output */ gboolean quiet; /* don't give any output */
gboolean debug; /* log debug-level info */ gboolean debug; /* log debug-level info */
@ -98,21 +98,21 @@ struct _MuConfig {
gboolean log_stderr; /* log to stderr (not logfile) */ gboolean log_stderr; /* log to stderr (not logfile) */
gchar** params; /* parameters (for querying) */ gchar** params; /* parameters (for querying) */
gboolean nocolor; /* don't use use ansi-colors gboolean nocolor; /* don't use use ansi-colors
* in some output */ * in some output */
gboolean verbose; /* verbose output */ gboolean verbose; /* verbose output */
/* options for init */ /* options for init */
gchar* maildir; /* where the mails are */ gchar* maildir; /* where the mails are */
char** my_addresses; /* 'my e-mail address', for mu cfind; char** my_addresses; /* 'my e-mail address', for mu cfind;
* can be use multiple times */ * can be use multiple times */
int max_msg_size; /* maximum size for message files */ int max_msg_size; /* maximum size for message files */
int batch_size; /* database transaction batch size */ int batch_size; /* database transaction batch size */
/* options for indexing */ /* options for indexing */
gboolean nocleanup; /* don't cleanup del'd mails from db */ gboolean nocleanup; /* don't cleanup del'd mails from db */
gboolean lazycheck; /* don't check dirs with up-to-date gboolean lazycheck; /* don't check dirs with up-to-date
* timestamps */ * timestamps */
/* options for querying 'find' (and view-> 'summary') */ /* options for querying 'find' (and view-> 'summary') */
gchar* fields; /* fields to show in output */ gchar* fields; /* fields to show in output */
@ -125,36 +125,36 @@ struct _MuConfig {
gchar* bookmark; /* use bookmark */ gchar* bookmark; /* use bookmark */
gchar* formatstr; /* output type for find gchar* formatstr; /* output type for find
* (plain,links,xml,json,sexp) * (plain,links,xml,json,sexp)
* and view (plain, sexp) and cfind * and view (plain, sexp) and cfind
*/ */
MuConfigFormat format; /* the decoded formatstr */ MuConfigFormat format; /* the decoded formatstr */
gchar* exec; /* command to execute on the gchar* exec; /* command to execute on the
* files for the matched * files for the matched
* messages */ * messages */
gboolean skip_dups; /* if there are multiple gboolean skip_dups; /* if there are multiple
* messages with the same * messages with the same
* msgid, show only the first * msgid, show only the first
* one */ * one */
gboolean include_related; /* included related messages gboolean include_related; /* included related messages
* in results */ * in results */
/* for find and cind */ /* for find and cind */
time_t after; /* only show messages or time_t after; /* only show messages or
* addresses last seen after * addresses last seen after
* T */ * T */
/* options for crypto /* options for crypto
* ie, 'view', 'extract' */ * ie, 'view', 'extract' */
gboolean auto_retrieve; /* assume we're online */ gboolean auto_retrieve; /* assume we're online */
gboolean use_agent; /* attempt to use the gpg-agent */ gboolean use_agent; /* attempt to use the gpg-agent */
gboolean decrypt; /* try to decrypt the gboolean decrypt; /* try to decrypt the
* message body, if any */ * message body, if any */
gboolean verify; /* try to crypto-verify the gboolean verify; /* try to crypto-verify the
* message */ * message */
/* options for view */ /* options for view */
gboolean terminator; /* add separator \f between gboolean terminator; /* add separator \f between
* multiple messages in mu * multiple messages in mu
* view */ * view */
/* options for cfind (and 'find' --> "after") */ /* options for cfind (and 'find' --> "after") */
gboolean personal; /* only show 'personal' addresses */ gboolean personal; /* only show 'personal' addresses */
@ -169,14 +169,14 @@ struct _MuConfig {
gboolean save_all; /* extract all parts */ gboolean save_all; /* extract all parts */
gboolean save_attachments; /* extract all attachment parts */ gboolean save_attachments; /* extract all attachment parts */
gchar* parts; /* comma-sep'd list of parts gchar* parts; /* comma-sep'd list of parts
* to save / open */ * to save / open */
gchar* targetdir; /* where to save the attachments */ gchar* targetdir; /* where to save the attachments */
gboolean overwrite; /* should we overwrite same-named files */ gboolean overwrite; /* should we overwrite same-named files */
gboolean play; /* after saving, try to 'play' gboolean play; /* after saving, try to 'play'
* (open) the attmnt using xdgopen */ * (open) the attmnt using xdgopen */
/* for server */ /* for server */
gboolean commands; /* dump documentations for server gboolean commands; /* dump documentations for server
* commands */ * commands */
gchar* eval; /* command to evaluate */ gchar* eval; /* command to evaluate */
/* options for mu-script */ /* options for mu-script */