rhubarbdog x <rhubarbdo...@gmail.com> added the comment:

I've just done a test and from a command shell (bash or whatever) the following 
python script when ran produces the following

$ python3 command.py 0ne thwo three
files:  ['0ne', 'thwo', 'three']
sensors 1
freq 1200

$ python3 command.py -s 5 0ne thwo three
files:  ['0ne', 'thwo', 'three']
sensors 5
freq 1200

$ python3 command.py  0ne -s 5 thwo three
usage: command.py [-h] [-s SENSORS] [-f FREQ] file [file ...]
command.py: error: unrecognized arguments: thwo three

i've attached the program command.py

----------
status: pending -> open
Added file: https://bugs.python.org/file48327/command.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36863>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to