summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5dce1b3)
Allow profile-specified -prefer switches to be cancelled from the
command line.
.RB [ \-prefer
.IR content ]
\&...
.RB [ \-prefer
.IR content ]
\&...
.RB [ \-headers " | " \-noheaders ]
.RB [ \-realsize " | " \-norealsize ]
.RB [ \-rcache
.RB [ \-headers " | " \-noheaders ]
.RB [ \-realsize " | " \-norealsize ]
.RB [ \-rcache
.B \-prefer
switches.
The
.B \-prefer
switches.
The
+.B \-noprefer
+switch will cancel any previous
-switch is functionally most important for
-.IR mhshow ,
-but is also implemented in
+switches.
+The
+.B \-prefer
+and
+.B \-noprefer
+switches are functionally most important for
+.BR mhshow ,
+but are also implemented in
.RB [ \-prefer
.IR content ]
\&...
.RB [ \-prefer
.IR content ]
\&...
.RB [ \-concat " | " \-noconcat ]
.RB [ \-textonly " | " \-notextonly ]
.RB [ \-inlineonly " | " \-noinlineonly ]
.RB [ \-concat " | " \-noconcat ]
.RB [ \-textonly " | " \-notextonly ]
.RB [ \-inlineonly " | " \-noinlineonly ]
options "wins", a
.B \-prefer
on the command line will override any in a profile entry.
options "wins", a
.B \-prefer
on the command line will override any in a profile entry.
+.PP
+The
+.B \-noprefer
+switch will cancel any previous
+.B \-prefer
+switches.
.SS "Unseen Sequence"
If the profile entry \*(lqUnseen\-Sequence\*(rq is present and
non-empty, then
.SS "Unseen Sequence"
If the profile entry \*(lqUnseen\-Sequence\*(rq is present and
non-empty, then
.RB [ \-prefer
.IR content ]
\&...
.RB [ \-prefer
.IR content ]
\&...
.RB [ \-auto " | " \-noauto ]
.RB [ \-clobber
.IR always " | " auto " | " suffix " | " ask " | " never ]
.RB [ \-auto " | " \-noauto ]
.RB [ \-clobber
.IR always " | " auto " | " suffix " | " ask " | " never ]
.IR mhshow (1)
for more information on
.BR \-prefer.
.IR mhshow (1)
for more information on
.BR \-prefer.
+.PP
+The
+.B \-noprefer
+switch will cancel any previous
+.B \-prefer
+switches.
.SS "Checking the Contents"
The
.B \-check
.SS "Checking the Contents"
The
.B \-check
X("part number", 0, PARTSW) \
X("type content", 0, TYPESW) \
X("prefer content", 0, PREFERSW) \
X("part number", 0, PARTSW) \
X("type content", 0, TYPESW) \
X("prefer content", 0, PREFERSW) \
+ X("noprefer", 0, NPREFERSW) \
X("rcache policy", 0, RCACHESW) \
X("wcache policy", 0, WCACHESW) \
X("changecur", 0, CHGSW) \
X("rcache policy", 0, RCACHESW) \
X("wcache policy", 0, WCACHESW) \
X("changecur", 0, CHGSW) \
preferred_subtypes[npreferred++] = cp;
continue;
preferred_subtypes[npreferred++] = cp;
continue;
+ case NPREFERSW:
+ npreferred = 0;
+ continue;
+
case FILESW:
if (!(cp = *argp++) || (*cp == '-' && cp[1]))
adios (NULL, "missing argument to %s", argp[-2]);
case FILESW:
if (!(cp = *argp++) || (*cp == '-' && cp[1]))
adios (NULL, "missing argument to %s", argp[-2]);
X("part number", 0, PARTSW) \
X("type content", 0, TYPESW) \
X("prefer content", 0, PREFERSW) \
X("part number", 0, PARTSW) \
X("type content", 0, TYPESW) \
X("prefer content", 0, PREFERSW) \
+ X("noprefer", 0, NPREFERSW) \
X("rcache policy", 0, RCACHESW) \
X("wcache policy", 0, WCACHESW) \
X("version", 0, VERSIONSW) \
X("rcache policy", 0, RCACHESW) \
X("wcache policy", 0, WCACHESW) \
X("version", 0, VERSIONSW) \
preferred_subtypes[npreferred++] = cp;
continue;
preferred_subtypes[npreferred++] = cp;
continue;
+ case NPREFERSW:
+ npreferred = 0;
+ continue;
+
case FILESW:
if (!(cp = *argp++) || (*cp == '-' && cp[1]))
adios (NULL, "missing argument to %s", argp[-2]);
case FILESW:
if (!(cp = *argp++) || (*cp == '-' && cp[1]))
adios (NULL, "missing argument to %s", argp[-2]);
X("part number", 0, PARTSW) \
X("type content", 0, TYPESW) \
X("prefer content", 0, PREFERSW) \
X("part number", 0, PARTSW) \
X("type content", 0, TYPESW) \
X("prefer content", 0, PREFERSW) \
+ X("noprefer", 0, NPREFERSW) \
X("rcache policy", 0, RCACHESW) \
X("wcache policy", 0, WCACHESW) \
X("version", 0, VERSIONSW) \
X("rcache policy", 0, RCACHESW) \
X("wcache policy", 0, WCACHESW) \
X("version", 0, VERSIONSW) \
preferred_subtypes[npreferred++] = cp;
continue;
preferred_subtypes[npreferred++] = cp;
continue;
+ case NPREFERSW:
+ npreferred = 0;
+ continue;
+
case FILESW:
if (!(cp = *argp++) || (*cp == '-' && cp[1]))
adios (NULL, "missing argument to %s", argp[-2]);
case FILESW:
if (!(cp = *argp++) || (*cp == '-' && cp[1]))
adios (NULL, "missing argument to %s", argp[-2]);