tftpy icon indicating copy to clipboard operation
tftpy copied to clipboard

tftp client options bug

Open msoulier opened this issue 7 years ago • 0 comments

msoulier@merlin:~/work/tftpy$ PYTHONPATH=. python bin/tftpy_client.py -d startup.cfg --host=10.39.40.21
Both the --host and --filename options are required.
Options:
  -h, --help            show this help message and exit
  -H HOST, --host=HOST  remote host or ip address
  -p PORT, --port=PORT  remote port to use (default: 69)
  -f FILENAME, --filename=FILENAME
                        filename to fetch (deprecated, use download)
  -D DOWNLOAD, --download=DOWNLOAD
                        filename to download
  -u UPLOAD, --upload=UPLOAD
                        filename to upload
  -b BLKSIZE, --blksize=BLKSIZE
                        udp packet size to use (default: 512)
  -o OUTPUT, --output=OUTPUT
                        output file, - for stdout (default: same as download)
  -i INPUT, --input=INPUT
                        input file, - for stdin (default: same as upload)
  -d, --debug           upgrade logging from info to debug
  -q, --quiet           downgrade logging from info to warning
  -t, --tsize           ask client to send tsize option in download
  -l LOCALIP, --localip=LOCALIP
                        local IP for client to bind to (ie. interface)

We're telling people to use --download but we don't accept it.

msoulier avatar Sep 24 '18 15:09 msoulier