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.
And let us consider how we may spur one another on toward love and good deeds, not giving up meeting together, as some are in the habit of doing, but encouraging one another—and all the more as you see the Day approaching.
Hebrews 10:24-25
2,786 questions
5,631 answers
5,195 comments
1,636 users