mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
ncal(1): print the correct option name when -B is specified twice
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/911
This commit is contained in:
parent
fd4fafa873
commit
b3ab6b5029
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ main(int argc, char *argv[])
|
|||
break;
|
||||
case 'B':
|
||||
if (flag_before > 0)
|
||||
errx(EX_USAGE, "Double -A specified");
|
||||
errx(EX_USAGE, "Double -B specified");
|
||||
flag_before = strtol(optarg, NULL, 10);
|
||||
if (flag_before <= 0)
|
||||
errx(EX_USAGE,
|
||||
|
|
|
|||
Loading…
Reference in a new issue