mirror of
https://github.com/romanz/amodem.git
synced 2026-02-05 16:26:22 +08:00
Require the user to specify send/recv subcommand
This commit is contained in:
@@ -106,7 +106,7 @@ def wrap(cls, stream, enable):
|
||||
|
||||
def create_parser(description, interface_factory):
|
||||
p = argparse.ArgumentParser(description=description)
|
||||
subparsers = p.add_subparsers()
|
||||
subparsers = p.add_subparsers(required=True)
|
||||
|
||||
# Modulator
|
||||
sender = subparsers.add_parser(
|
||||
|
||||
Reference in New Issue
Block a user