diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-12-28 17:21:18 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-12-28 17:21:18 +0000 |
commit | 78bcab5a5c200a429af92290e862e9f8a619eb00 (patch) | |
tree | 09a22a769989037a6efb0b7a2ee832d435f19abc /regress/usr.bin | |
parent | 378b5bd42555fe5d57a9dee3590c2be2f4a46187 (diff) |
Make the second, section number argument of .Xr mandatory.
In fact, we have been requiring it for many years.
The only reason to not warn when it was missing
was excessive traditionalism - it was optional in 4.4BSD.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Xr/args.out_lint | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Xr/args.out_lint b/regress/usr.bin/mandoc/mdoc/Xr/args.out_lint index 703a0abf3e6..8ade74883cc 100644 --- a/regress/usr.bin/mandoc/mdoc/Xr/args.out_lint +++ b/regress/usr.bin/mandoc/mdoc/Xr/args.out_lint @@ -1,2 +1,3 @@ mandoc: args.in:24:2: WARNING: skipping empty macro: Xr mandoc: args.in:26:2: WARNING: skipping empty macro: Xr +mandoc: args.in:22:2: WARNING: missing section argument: Xr echo |