man-page is incorrectly formatted by GNU help2man
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- python
- Bereich
- documentation
Rechercherichtung
The issue identifies GNU help2man formatting of the generated man page and suggests argparse-manpage as an alternative; it does not name repository files or tests. Start by locating how codespell's man page is generated and compare the current output with the broken examples. Done means the usage, options, and wrapped descriptions appear correctly in the generated man page.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
You use GNU help2man to generate man page but it does not understand Python argparse output properly. (This is known issue of GNU help2man.)
Broken formatting examples with explanations:
SYNOPSIS
codespell [OPTIONS] [file1 file2 ... fileN]
DESCRIPTION
codespell is designed to find and fix common misspellings in text
files. It is designed primarily for checking misspelled words in
source code, but it can be used with other files as well.
usage: codespell [-h] [--version] [-d] [-c] [-w] [-D DICTIONARY]
[--builtin BUILTIN-LIST] [--ignore-regex IGNORE_REGEX] [-I FILE]
[-L WORDS] [--uri-ignore-words-list WORDS] [-r REGEX]
[--uri-regex URI_REGEX] [-s] [--count] [-S SKIP] [-x FILE] [-i
INTERACTIVE] [-q QUIET_LEVEL] [-e] [-f] [-H] [-A LINES] [-B
LINES] [-C LINES] [--config CONFIG] [--toml TOML] [files ...]
positional arguments:
files files or directories to check
usageoutput should go into SYNOPSIS- Empty line is inserted after first and following lines of
usage. - No
OPTIONSsection, all options went intoDESCRIPTION.
-i INTERACTIVE, --interactive `INTERACTIVE`
set interactive mode when writing changes: - 0: no interactiv‐
ity. - 1: ask for confirmation. - 2: ask user to choose one
fix when more than one is
available.
- 3: both 1 and 2
availableis incorrectly split into next paragraph.
Other converters you may consider using:
- Vorherrschende Sprache
- Python
- Sterne
- 2.4k
- Forks
- 531
- Ø Merge
- 15 Std. 5 Min.
- Gemergte PRs (30 T.)
- 18
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus codespell-project/codespell
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
codespell-project/codespell#3997 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
codespell-project/codespell#3965 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add "marcos"Evtl. vergeben @ekanshul hat das vor 19 Tagen übernommen. Offendictionary
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
codespell-project/codespell#3920 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
question
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
codespell-project/codespell#4005 ·
Maintainer antworten meist innerhalb von 1 Tag
-
duplicate question
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
codespell-project/codespell#3998 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in codespell-project/codespell
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
microsoft/agent-lightning#661 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
area/profiles comp/cli P3 type/feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
NousResearch/hermes-agent#146372 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG] OpenAI-compatible embedding model alias breaks embedder constructionEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag
-
[oblt-aw][autodoc] Document obs-aw-automerge contract and fix automerge doc inconsistenciesEvtl. vergeben @github-actions hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
GeoSeries scale and skew tests fail with pytest 9.2.0Evtl. vergeben @jiayuasu hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag