命令行帮助说明如下
-b BOOKS, --books BOOKS
Reference list to print (as in Choose Books)
在 GitHub 代码中,我还找到了如下文档说明
-b BOOKS, --books BOOKS
Space separated bookid list to set
这两处说明都暗示我只需输入书的缩写即可。但如果我执行
python ptxprint -b JAS 1PE -P
我会得到
res=0
而如果执行
python ptxprint -b JAS 1PE 2PE -P
我会得到
ptxprint: error: unrecognized arguments: 2PE
- 正确的语法是什么?
res=0 是什么意思?(我在尝试在一台新的 Linux 机器上安装 ptxprint 时也看到了这个提示。)
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
- What is the correct syntax?
- What does
res=0 mean? (I’ve seen that while trying to install ptxprint on a new Linux machine also.)
机器翻译自 English