man-page is incorrectly formatted by GNU help2man
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- documentation
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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:
- Lenguaje dominante
- Python
- Estrellas
- 2.4k
- Forks
- 531
- Merge medio
- 15 h 55 min
- PR fusionados (30 d)
- 17
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de codespell-project/codespell
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
codespell-project/codespell#3997 ·
Los mantenedores suelen responder en 1 día
-
No error when beginning with 'Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
codespell-project/codespell#3965 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Add "marcos"Posiblemente ocupada @ekanshul la tomó hace 20 días. Abiertodictionary
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
codespell-project/codespell#3920 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
question
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
codespell-project/codespell#4005 ·
Los mantenedores suelen responder en 1 día
-
duplicate question
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
codespell-project/codespell#3998 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de codespell-project/codespell
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
-
Validate finite output clamping limits in StepPredictor.prepare_clamping_params to prevent silent NaN/Inf propagationPosiblemente ocupada @muskan-creates352 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
mllam/neural-lam#848 ·
Los mantenedores suelen responder en 2 días
-
infra
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
fab-geocommuns/RNB-coeur#1166 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
deepspeedai/DeepSpeed#8951 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
aws/context-ontology-accelerator#343 ·
Los mantenedores suelen responder en 1 día