usage: console.py [-p PORT] [-b BAUD] [--rtscts] [-v] [-f] [-l] [-r]
                  [-o LOG_DIRNAME] [--logfilename LOGFILENAME]
                  [-a APPEND_LOG_FILENAME] [--file] [-d TAGS] [-t]
                  [--expand-json] [-i INITLOGLEVEL] [-u] [--toolkit TOOLKIT]
                  [--error] [--log-console] [--networking [NETWORKING]] [-h]
                  [-V]

Swift Console

optional arguments:
  -p PORT, --port PORT  specify the serial port to use.
  -b BAUD, --baud BAUD  specify the baud rate to use.
  --rtscts              Enable Hardware Flow Control (RTS/CTS).
  -v, --verbose         print extra debugging information.
  -f, --ftdi            use pylibftdi instead of pyserial.
  -l, --log             serialize SBP messages to autogenerated log file.
  -r, --reset           reset device after connection.
  -o LOG_DIRNAME, --log-dirname LOG_DIRNAME
                        directory in which to create logfile.
  --logfilename LOGFILENAME
                        filename to use for log. Default filename with date
                        and timestamp is used otherwise.
  -a APPEND_LOG_FILENAME, --append-log-filename APPEND_LOG_FILENAME
                        file to append log output to.
  --file                Read with a filedriver rather than pyserial.
  -d TAGS, --tags TAGS  tags to decorate logs with.
  -t, --tcp             Use a TCP connection instead of a local serial port.
                        If TCP is selected, the port is interpreted as
                        host:port
  --expand-json         Expand fields in JSON logs
  -i INITLOGLEVEL, --initloglevel INITLOGLEVEL
                        Set log level filter.
  -u, --update          don't prompt about firmware/console updates.
  --toolkit TOOLKIT     specify the TraitsUI toolkit to use, either 'wx' or
                        'qt4'.
  --error               Do not swallow exceptions.
  --log-console         Log console stdout/err to file.
  --networking [NETWORKING]
                        key value pairs to pass to sbp_relay_view initializer
                        for network
  -h, --help            Show usage help in a GUI popup.
  -V, --version         show program's version number and exit

