add long flag mapping for eb200

This commit is contained in:
Jakob Ketterl 2020-12-01 14:14:52 +01:00
parent e90b10abfd
commit 46b7660e2d

View File

@ -1,5 +1,5 @@
from owrx.source.connector import ConnectorSource
from owrx.command import Argument
from owrx.command import Argument, Flag
class Eb200Source(ConnectorSource):
@ -9,6 +9,7 @@ class Eb200Source(ConnectorSource):
.getCommandMapper()
.setBase("eb200_connector")
.setMappings({
"long": Flag("-l"),
"remote": Argument(),
})
)