Skip to content

Commit

Permalink
Removed header info, added inline comments
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Nov 13, 2016
1 parent 5cfd9be commit 5e87320
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions segno/scripts/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
Command line script to generate QR Codes with Segno.
"QR Code" and "Micro QR Code" are registered trademarks of DENSO WAVE INCORPORATED.
:author: Lars Heuer (heuer[at]semagia.com)
:organization: Semagia - http://www.semagia.com/
:license: BSD License
"""
from __future__ import absolute_import, unicode_literals
import sys
Expand Down Expand Up @@ -80,6 +76,7 @@ def _convert_scale(val):
)
parser.add_argument('--no-error-boost', help='Disables the automatic error incrementation if a higher error correction level is possible',
dest='boost_error', action='store_false')
# SVG
svg_group = parser.add_argument_group('SVG', 'SVG specific options')
svg_group.add_argument('--no-classes', help='Omits the (default) SVG classes',
action='store_true')
Expand All @@ -105,6 +102,7 @@ def _convert_scale(val):
type=float)
svg_group.add_argument('--encoding', help='Specifies the encoding of the document',
default='utf-8')
# PNG
png_group = parser.add_argument_group('PNG', 'PNG specific options')
png_group.add_argument('--dpi', help='Sets the DPI value of the PNG file',
type=int)
Expand Down

0 comments on commit 5e87320

Please sign in to comment.