Message77668
| Author | kszawala |
|---|---|
| Recipients | kszawala |
| Date | 2008-12-12.14:14:41 |
| SpamBayes Score | 6.894934e-06 |
| Marked as misclassified | No |
| Message-id | <1229091283.09.0.553967635356.issue4640@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I am using optparse for command-line parameters parsing. To follow common naming convention I defined -d (minus followed by a single character option) and --debug (double minus followed by a word). It looks like optparse doesn't complain when -debug (single minus) is specified and morover it doesn't recognize it as --debug. I am using Python 2.5.2. Problem was observed on Linux but also occurs on Windows. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-12-12 14:14:43 | kszawala | set | recipients: + kszawala |
| 2008-12-12 14:14:43 | kszawala | set | messageid: <1229091283.09.0.553967635356.issue4640@psf.upfronthosting.co.za> |
| 2008-12-12 14:14:42 | kszawala | link | issue4640 messages |
| 2008-12-12 14:14:41 | kszawala | create | |