mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 15:55:25 +02:00
idnits: add page (#6000)
This commit is contained in:
parent
528727f70f
commit
f53c6b87f9
1 changed files with 25 additions and 0 deletions
25
pages/common/idnits.md
Normal file
25
pages/common/idnits.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# idnits
|
||||||
|
|
||||||
|
> Check internet-drafts for submission nits.
|
||||||
|
> Looks for violations of Section 2.1 and 2.2 of the requirements listed on <https://www.ietf.org/id-info/checklist>.
|
||||||
|
> More information: <https://tools.ietf.org/tools/idnits/>.
|
||||||
|
|
||||||
|
- Check a file for nits:
|
||||||
|
|
||||||
|
`idnits {{path/to/file.txt}}`
|
||||||
|
|
||||||
|
- Count nits without displaying them:
|
||||||
|
|
||||||
|
`idnits --nitcount {{path/to/file.txt}}`
|
||||||
|
|
||||||
|
- Show extra information about offending lines:
|
||||||
|
|
||||||
|
`idnits --verbose {{path/to/file.txt}}`
|
||||||
|
|
||||||
|
- Expect the specified year in the boilerplate instead of the current year:
|
||||||
|
|
||||||
|
`idnits --year {{2021}} {{path/to/file.txt}}`
|
||||||
|
|
||||||
|
- Assume the document is of the specified status:
|
||||||
|
|
||||||
|
`idnits --doctype {{standard|informational|experimental|bcp|ps|ds}} {{path/to/file.txt}}`
|
Loading…
Add table
Reference in a new issue