0 votes

The command line help says

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

in the github code, I also found documentation that says

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

both of those would suggest that I just write the book abbreviations. But if I do this
python ptxprint -b JAS 1PE -P
I get
res=0
and if I do this
python ptxprint -b JAS 1PE 2PE -P
I get
ptxprint: error: unrecognized arguments: 2PE

  1. What is the correct syntax?
  2. What does res=0 mean? (I’ve seen that while trying to install ptxprint on a new Linux machine also.)
PTXprint by (1.8k points)

1 Answer

0 votes

My best guess is that if you want to do multiple books, you’ll need to put the list of books in quotes:

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

res=0 means that the program completed successfully without any errors (any number other than 0, like res=1, or res=2 indicates that something failed).

by (2.6k points)
reshown

Thank you. The quotes did the trick.

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For where two or three gather in my name, there am I with them.
Matthew 18:20
2,645 questions
5,394 answers
5,065 comments
1,437 users