man-page is incorrectly formatted by GNU help2man
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- documentation
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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:
- Lingua principale
- Python
- Stelle
- 2.4k
- Fork
- 531
- Merge medio
- 15h 55m
- PR unite (30g)
- 17
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di codespell-project/codespell
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
codespell-project/codespell#3997 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
codespell-project/codespell#3965 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Add "marcos"Forse già presa @ekanshul l’ha presa 20 giorni fa. Apertadictionary
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
codespell-project/codespell#3920 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
question
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
codespell-project/codespell#4005 ·
I maintainer di solito rispondono entro 1 giorno
-
duplicate question
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
codespell-project/codespell#3998 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di codespell-project/codespell
Issue simili
-
changelog investigate
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
ramnes/notion-sdk-py#433 ·
-
docs pkg:core
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
pydantic/pydantic-ai#11929 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
intake/intake-esm#789 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
MemMachine/MemMachine#1877 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
openedx/openedx-authz#579 ·
I maintainer di solito rispondono entro 1 giorno