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.6k 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.3k points)
reshown

Thank you. The quotes did the trick.

Related questions

0 votes
5 answers
0 votes
1 answer
0 votes
1 answer
PTXprint Sep 30, 2023 asked by anon088806 (115 points)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
So Peter was kept in prison, but the church was earnestly praying to God for him.
Acts 12:5
2,450 questions
5,139 answers
4,835 comments
1,240 users