]> Kevux Git Server - rit/commit
doc: check for absence of the form --[no-]parameter
authorJean-Noël Avila <jn.avila@free.fr>
Mon, 11 Aug 2025 20:53:18 +0000 (20:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Aug 2025 21:16:04 +0000 (14:16 -0700)
commit03a353bb9759a1c775ba70f1e9ee865fc38291c2
treebb55e2ce67fd0d0c0056f89365eb25883b2ef29e
parented260220948595b1311d4639dbfc20f02c807fac
doc: check for absence of the form --[no-]parameter

For better searchability, this commit adds a check to ensure that parameters
expressed in the form of `--[no-]parameter` are not used in the
documentation.  In the place of such parameters, the documentation should
list two separate parameters: `--parameter` and `--no-parameter`.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
36 files changed:
Documentation/blame-options.adoc
Documentation/diff-options.adoc
Documentation/fetch-options.adoc
Documentation/git-am.adoc
Documentation/git-backfill.adoc
Documentation/git-cat-file.adoc
Documentation/git-check-ref-format.adoc
Documentation/git-clone.adoc
Documentation/git-commit-graph.adoc
Documentation/git-commit.adoc
Documentation/git-config.adoc
Documentation/git-difftool.adoc
Documentation/git-fast-import.adoc
Documentation/git-fmt-merge-msg.adoc
Documentation/git-format-patch.adoc
Documentation/git-fsck.adoc
Documentation/git-gc.adoc
Documentation/git-index-pack.adoc
Documentation/git-log.adoc
Documentation/git-merge-tree.adoc
Documentation/git-multi-pack-index.adoc
Documentation/git-pack-objects.adoc
Documentation/git-pull.adoc
Documentation/git-push.adoc
Documentation/git-range-diff.adoc
Documentation/git-read-tree.adoc
Documentation/git-reset.adoc
Documentation/git-send-email.adoc
Documentation/git-send-pack.adoc
Documentation/git-submodule.adoc
Documentation/git-update-index.adoc
Documentation/git-upload-pack.adoc
Documentation/git-worktree.adoc
Documentation/lint-documentation-style.perl
Documentation/merge-options.adoc
Documentation/scalar.adoc