0 votos
202 vistas

La ayuda de la línea de comandos dice

-b BOOKS, --books BOOKS
                        Reference list to print (as in Choose Books)

en el código de github, también encontré documentación que dice

-b BOOKS, --books BOOKS
                        Space separated bookid list to set

ambas sugieren que solo debo escribir las abreviaturas de los libros. Pero si hago esto
python ptxprint -b JAS 1PE -P
obtengo
res=0
y si hago esto
python ptxprint -b JAS 1PE 2PE -P
obtengo
ptxprint: error: unrecognized arguments: 2PE

  1. ¿Cuál es la sintaxis correcta?
  2. ¿Qué significa res=0? (También he visto esto al intentar instalar ptxprint en una nueva máquina Linux.)
Traducción automática desde English
PTXprint por (1,9k puntos) | 202 vistas

1 Respuesta

0 votos

Lo mejor que puedo suponer es que si quieres hacer varios libros, necesitarás poner la lista de libros entre comillas:

python ptxprint -b "JAS 1PE 2PE" -P

res=0 significa que el programa se completó con éxito sin ningún error (cualquier número diferente de 0, como res=1, o res=2 indica que algo falló).

Traducción automática desde English
por (3,2k puntos)
mostrada de nuevo

Gracias. Las comillas funcionaron.

Traducción automática desde English

Preguntas relacionadas

0 votos
5 respuestas 332 vistas
Estoy intentando generar PDFs individuales de cada libro del proyecto. Mi idea era usar la herramienta de línea de ... para generar un PDF para libros individuales de esta manera?
Jim_Smith 131 preguntada abr 10, 2023
0 votos
2 respuestas 322 vistas
A team I support has been publishing selected Psalms and other chapters to their Scripture app as the chapters are approved ... might be useful to other teams in other regions too.
anon469793 155 preguntada nov 11, 2019
0 votos
1 respuesta 232 vistas
I know there are a lot of features everyone would like. I am not asking for a new one (just yet) but wondering if ... was reading it on a machine with the Paratext project on it.)
Kent Spielmann 1,8k preguntada dic 21, 2018
0 votos
2 respuestas 227 vistas
Ayudo a operar ScriptureEarth.org. Soñamos con la posibilidad de configurar una opción para que las personas soliciten ... Suena esto de alguna manera razonable? --Loren Hawthorne
LorenHawthorne 173 preguntada ago 5, 2024
0 votos
3 respuestas 376 vistas
Estoy preparando Lucas y Hechos para ser impresos como un folleto, y no logro averiguar cómo insertar una página de título intermedia antes del comienzo de Hechos.
Jamie 102 preguntada ago 6, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
All the believers were one in heart and mind. No one claimed that any of their possessions was their own, but they shared everything they had.
Acts 4:32
3,048 preguntas
6,007 respuestas
5,672 comentarios
2,028 usuarios