Message200862
parse_args() would see ['-foo', 'bar1,bar2,bar3', 'pos1', 'pos2']. The splitting on space is done by the shell. So having your own code split 'bar1,bar2,bar3' is simplest. But that would be messed up if the user entered 'bar1, bar2, bar3...'. You could also ask the user to use quotes - "bar1, bar2, bar3". |
|
Date |
User |
Action |
Args |
2013-10-22 02:55:49 | paul.j3 | set | recipients:
+ paul.j3, bethard, wrobell, eric.araujo, TD22057, catherine, elsdoerfer, Kotan, phawkins |
2013-10-22 02:55:49 | paul.j3 | set | messageid: <1382410549.23.0.836105232344.issue9338@psf.upfronthosting.co.za> |
2013-10-22 02:55:49 | paul.j3 | link | issue9338 messages |
2013-10-22 02:55:49 | paul.j3 | create | |
|