This repository was archived by the owner on May 7, 2026. It is now read-only.
Commit f2e5cbc
committed
Also show Java ZXing library version in --version output
This requires an error-deferring `ArgumentParser` subclass, because we need
to initialize the `BarCodeReader` class before we can get the Java ZXing
library version.
(I took the error-deferring subclass from
https://gist.github.com/jmoiron/6543743 and lightly adapted it.)1 parent 8bffb1a commit f2e5cbc
1 file changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
9 | 22 | | |
10 | | - | |
| 23 | + | |
11 | 24 | | |
12 | 25 | | |
13 | 26 | | |
14 | 27 | | |
15 | 28 | | |
16 | | - | |
| 29 | + | |
17 | 30 | | |
| 31 | + | |
| 32 | + | |
18 | 33 | | |
19 | 34 | | |
20 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
21 | 40 | | |
22 | 41 | | |
23 | 42 | | |
| |||
0 commit comments