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.8k 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 we were all baptized by one Spirit so as to form one body—whether Jews or Gentiles, slave or free—and we were all given the one Spirit to drink.
1 Corinthians 12:13
2,721 questions
5,525 answers
5,142 comments
1,570 users