diff --git a/man/mu.1 b/man/mu.1 index e9077624..5dec89ed 100644 --- a/man/mu.1 +++ b/man/mu.1 @@ -302,17 +302,16 @@ The table of replacement characters is superset of the list mentions for search parameters: .nf - t To: recipient - c CC (Carbon-Copy) recipient - d Sent date of the message - f Message sender (From:) - F Message flags - p Full path to the message - P Message priority (high, normal, low) - s Message subject - i Message ID - m Maildir - t To: recipient + t \fBt\fRo: recipient + c \fBcfRc: (Carbon-Copy) recipient + d Sent \fBd\fRate of the message + f Message sender (\fBf\fRrom:) + g Message flags (fla\fBg\fRs) + l Full path to the message (\fBl\fRocation) + p Message \fBp\fRriority (high, normal, low) + s Message \fBs\fRubject + i Message-\fBi\fRd + m \fBm\fRaildir .fi The message-flags output is a string, consisting of zero or more of the @@ -345,7 +344,7 @@ following fields are supported: from,f message sender maildir,m maildir msgid,i message id - prio,P message priority + prio,p message priority subject,s message subject to,t To:-recipient .fi diff --git a/src/mu-msg-fields.c b/src/mu-msg-fields.c index d4485a4a..d2c0fe77 100644 --- a/src/mu-msg-fields.c +++ b/src/mu-msg-fields.c @@ -73,7 +73,7 @@ static const MuMsgField FIELD_DATA[] = { { MU_MSG_FIELD_ID_FLAGS, MU_MSG_FIELD_TYPE_INT, - "flags", "F", "G", + "flags", "g", "G", /* flaGs */ FLAG_GMIME | FLAG_XAPIAN_VALUE }, @@ -87,8 +87,8 @@ static const MuMsgField FIELD_DATA[] = { { MU_MSG_FIELD_ID_PATH, MU_MSG_FIELD_TYPE_STRING, - "path", "p", "P", - FLAG_GMIME | FLAG_XAPIAN_VALUE + "path", "l", "L", /* 'l' for location */ + FLAG_GMIME | FLAG_XAPIAN_VALUE }, { @@ -101,14 +101,14 @@ static const MuMsgField FIELD_DATA[] = { { MU_MSG_FIELD_ID_PRIORITY, MU_MSG_FIELD_TYPE_INT, - "prio", "P", "I", + "prio", "p", "P", FLAG_GMIME | FLAG_XAPIAN_VALUE }, { MU_MSG_FIELD_ID_SIZE, MU_MSG_FIELD_TYPE_BYTESIZE, - "size", "z", "Z", + "size", "z", "Z", /* siZe */ FLAG_GMIME }, @@ -129,14 +129,14 @@ static const MuMsgField FIELD_DATA[] = { { MU_MSG_FIELD_ID_MSGID, MU_MSG_FIELD_TYPE_STRING, - "msgid", "i", "I", + "msgid", "i", "I", /* 'i' for Id */ FLAG_GMIME | FLAG_XAPIAN_TERM }, { MU_MSG_FIELD_ID_TIMESTAMP, MU_MSG_FIELD_TYPE_TIME_T, - "timestamp", "i", NULL, + "timestamp", "x", NULL, FLAG_GMIME } };