summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-01-24 11:16:43 -0500
committerTavian Barnes <tavianator@tavianator.com>2021-01-24 11:22:53 -0500
commitcbb898e0c4103b9707c8abb9ebf4866a0353c0f9 (patch)
tree19adb64e62bfeb63ffa5e9c59837a78a35736287
parent876fb5fdc3aa157f319a1347e06f8ffa39a69aa6 (diff)
downloadbfs-cbb898e0c4103b9707c8abb9ebf4866a0353c0f9.tar.xz
parse: Fix the token type of -nowarn
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index fa95e69..b018e75 100644
--- a/parse.c
+++ b/parse.c
@@ -2924,7 +2924,7 @@ static const struct table_entry parse_table[] = {
{"-noleaf", T_OPTION, parse_noleaf},
{"-not", T_OPERATOR},
{"-nouser", T_TEST, parse_nouser},
- {"-nowarn", T_TEST, parse_warn, false},
+ {"-nowarn", T_OPTION, parse_warn, false},
{"-o", T_OPERATOR},
{"-ok", T_ACTION, parse_exec, BFS_EXEC_CONFIRM},
{"-okdir", T_ACTION, parse_exec, BFS_EXEC_CONFIRM | BFS_EXEC_CHDIR},