Skip to content

Commit 4630f49

Browse files
committed
testsudoers: Add -L option to warning about mixing -l, -L and -v.
1 parent fbb6ad9 commit 4630f49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/sudoers/testsudoers.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ main(int argc, char *argv[])
173173
case 'l':
174174
if (test_ctx.mode != MODE_RUN) {
175175
sudo_warnx(
176-
"only one of the -l or -v flags may be specified");
176+
"only one of the -l, -L or -v flags may be specified");
177177
usage();
178178
}
179179
test_ctx.mode = MODE_LIST;
@@ -213,7 +213,7 @@ main(int argc, char *argv[])
213213
case 'v':
214214
if (test_ctx.mode != MODE_RUN) {
215215
sudo_warnx(
216-
"only one of the -l or -v flags may be specified");
216+
"only one of the -l, -L or -v flags may be specified");
217217
usage();
218218
}
219219
test_ctx.mode = MODE_VALIDATE;

0 commit comments

Comments
 (0)