]> diplodocus.org Git - nmh/blob - sbr/ambigsw.c
Improve fmttest output
[nmh] / sbr / ambigsw.c
1 /* ambigsw.c -- report an ambiguous switch
2 *
3 * This code is Copyright (c) 2002, by the authors of nmh. See the
4 * COPYRIGHT file in the root directory of the nmh distribution for
5 * complete copyright information.
6 */
7
8 #include "h/mh.h"
9 #include "ambigsw.h"
10 #include "print_sw.h"
11 #include "error.h"
12
13
14 void
15 ambigsw (const char *arg, const struct swit *swp)
16 {
17 inform("-%s ambiguous. It matches", arg);
18 print_sw (arg, swp, "-", stderr);
19 }