We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a2c58 commit f14c512Copy full SHA for f14c512
1 file changed
barcode/pybarcode.py
@@ -9,6 +9,7 @@
9
from argparse import ArgumentParser
10
11
from barcode.writer import ImageWriter, SVGWriter
12
+from barcode.version import version
13
14
# Optional PyQt4 GUI
15
try:
@@ -79,10 +80,10 @@ def main():
79
80
else:
81
msg.append('PyQt found. Use gui action to get a simple GUI.')
82
parser = ArgumentParser(
- description=barcode.__description__, epilog=' '.join(msg)
83
+ description='Create standard barcodes via cli.', epilog=' '.join(msg)
84
)
85
parser.add_argument('-v', '--version', action='version',
- version='%(prog)s ' + barcode.__release__)
86
+ version='%(prog)s ' + version)
87
subparsers = parser.add_subparsers(title='Actions')
88
create_parser = subparsers.add_parser('create', help='Create a barcode '
89
'with the given options.')
0 commit comments