Downloading logs using or other means

I’m trying to write a simple script to automatically download the logs from a pixhawk over serial and I’ve found a sample command line for using but I can not get it to work.

C:\Development\LogLoader> --download *.BIN serial:com6:115200
usage: [-h] [--no-timestamps] [--planner] [--robust] [-f] [--condition CONDITION] [-q] [-o OUTPUT] [-p]
                     [--format FORMAT] [--csv_sep CSV_SEP] [--types TYPES] [--nottypes NOTTYPES] [--mat_file MAT_FILE]
                     [-c] [--dialect DIALECT] [--zero-time-base] [--no-bad-data] [--show-source] [--show-seq]
                     [--show-types] [--source-system SOURCE_SYSTEM] [--source-component SOURCE_COMPONENT]
                     [--link LINK] [--verbose] [--mav10] [--reduce REDUCE] [--reduce-rate REDUCE_RATE] [--profile]
                     LOG error: unrecognized arguments: --download serial:com6:115200

Any ideas how to get this to work?