mirror of https://github.com/tuhiproject/tuhi.git
tools: Add choices to fetch.format argument
parent
ea1dc798b1
commit
ddd896b1f6
|
@ -706,6 +706,7 @@ class TuhiKeteShell(cmd.Cmd):
|
||||||
help='the index of the drawing to fetch or a literal "all"')
|
help='the index of the drawing to fetch or a literal "all"')
|
||||||
parser.add_argument('--format', metavar='{svg|png}',
|
parser.add_argument('--format', metavar='{svg|png}',
|
||||||
default='svg',
|
default='svg',
|
||||||
|
choices=['svg', 'png'],
|
||||||
help='output file format')
|
help='output file format')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue