CLI types with spaces get quotes
parent
f88a3df945
commit
5db43753a4
|
@ -63,7 +63,7 @@ usage: xeno-crufto [-h] [--api API] [--dry-run | --no-dry-run] [--query QUERY]
|
|||
[--smp SMP] [--sp SP] [--ssp SSP]
|
||||
[--stage {adult,juvenile,nesting,nymph,subadult,unknown}]
|
||||
[--temperature TEMPERATURE]
|
||||
[--type {aberrant,alarm call,begging call,call,calling song,courtship song,dawn song,distress call,distrubance song,drumming,duet,echolocation,female song,flight call,flight song,imitation,nocturnal flight call,rivalry song,searching song,social call,song,subsong,unknown}]
|
||||
[--type {aberrant,"alarm call","begging call",call,"calling song","courtship song","dawn song","distress call","distrubance song",drumming,duet,echolocation,"female song","flight call","flight song",imitation,"nocturnal flight call","rivalry song","searching song","social call",song,subsong,unknown}]
|
||||
[--uploaded UPLOADED]
|
||||
|
||||
options:
|
||||
|
@ -122,7 +122,7 @@ options:
|
|||
--temperature TEMPERATURE
|
||||
temperature during recording (applicable to specific
|
||||
groups only)
|
||||
--type {aberrant,alarm call,begging call,call,calling song,courtship song,dawn song,distress call,distrubance song,drumming,duet,echolocation,female song,flight call,flight song,imitation,nocturnal flight call,rivalry song,searching song,social call,song,subsong,unknown}
|
||||
--type {aberrant,"alarm call","begging call",call,"calling song","courtship song","dawn song","distress call","distrubance song",drumming,duet,echolocation,"female song","flight call","flight song",imitation,"nocturnal flight call","rivalry song","searching song","social call",song,subsong,unknown}
|
||||
the sound type of the recording
|
||||
--uploaded UPLOADED the date that the recording was uploaded to xeno-canto
|
||||
(example: 2022-03-02)
|
||||
|
|
28
xeno-crufto
28
xeno-crufto
|
@ -340,25 +340,25 @@ parser.add_argument(
|
|||
required=False,
|
||||
choices=[
|
||||
"aberrant",
|
||||
"alarm call",
|
||||
"begging call",
|
||||
'"alarm call"',
|
||||
'"begging call"',
|
||||
"call",
|
||||
"calling song",
|
||||
"courtship song",
|
||||
"dawn song",
|
||||
"distress call",
|
||||
"distrubance song",
|
||||
'"calling song"',
|
||||
'"courtship song"',
|
||||
'"dawn song"',
|
||||
'"distress call"',
|
||||
'"distrubance song"',
|
||||
"drumming",
|
||||
"duet",
|
||||
"echolocation",
|
||||
"female song",
|
||||
"flight call",
|
||||
"flight song",
|
||||
'"female song"',
|
||||
'"flight call"',
|
||||
'"flight song"',
|
||||
"imitation",
|
||||
"nocturnal flight call",
|
||||
"rivalry song",
|
||||
"searching song",
|
||||
"social call",
|
||||
'"nocturnal flight call"',
|
||||
'"rivalry song"',
|
||||
'"searching song"',
|
||||
'"social call"',
|
||||
"song",
|
||||
"subsong",
|
||||
"unknown",
|
||||
|
|
Loading…
Reference in New Issue