Add 'not implemented' errors for unimplemented flags

These used to live in TODO but we got rid off them.  Make sure
we keep track of what we want to support by printing a message
when those flags are unimplemented.
This commit is contained in:
sin
2013-08-15 10:55:21 +01:00
parent 582511d57b
commit 83c2c3d1f5
7 changed files with 22 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ static int expand(Fdescr *f, int tabstop);
static void
usage(void)
{
eprintf("usage: %s [-t n] [file...]\n", argv0);
eprintf("usage: %s [-i] [-t n] [file...]\n", argv0);
}
int
@@ -25,6 +25,8 @@ main(int argc, char *argv[])
int tabstop = 8;
ARGBEGIN {
case 'i':
eprintf("not implemented\n");
case 't':
tabstop = estrtol(EARGF(usage()), 0);
break;