Skip to content

Commit

Permalink
Organized options alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
kb1lqc committed Mar 9, 2018
1 parent bc80c7b commit 41153cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions faradayio_cli/faradayio_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ def setupArgparse():
parser.add_argument("id", type=int, help="ID number radio")

# Optional arguments
parser.add_argument("-i", "--addr", default="10.0.0.1",
help="Set IP Address of TUN adapter (Farday Radio)")
parser.add_argument("-l", "--loopback", action="store_true",
help="Use software loopback serial port")
parser.add_argument("-p", "--port", default="/dev/ttyUSB0",
help="Physical serial port of radio")
parser.add_argument("-m", "--mtu", default="1500",
help="Set Maximum Transmission Unit (MTU)")
parser.add_argument("-i", "--addr", default="10.0.0.1",
help="Set IP Address of TUN adapter (Farday Radio)")
parser.add_argument("-p", "--port", default="/dev/ttyUSB0",
help="Physical serial port of radio")

# Parse and return arguments
return parser.parse_args()
Expand Down

0 comments on commit 41153cb

Please sign in to comment.