I had no idea people were going to get so upset that I used a Windows
example and go off on a tear.

Nobody is upset, and nobody has "gone off on a tear". The point about
the "Windows example" is that the docs say in a close-to-screamingly-
obvious manner that /options are not supported, no matter what
religion uses them. It was not, and still is not, apparent what you
really wanted. We're all patiently waiting for you to rephrase the
question(s).

Sigh. I used an incorrect example (I sincerely apologize to the world for that egregious error on my part).

I''m totally cognizant that the documentation states '-'' or '--' need to be used for flags.

The question was it possible to add a simple flag like 'd-' to optparse with no other parameters? I'm guessing from the vitriolic diatribes here that the answer is no.

To those who wrote that no one uses command line windows and no one uses 'dir /s /b' command is totally irrelevant. I'm writing a proprietary program used solely by my company. Not everyone writes programs for the same target audience as you do. The program is written in Python on Ubuntu.

If you don't want to answer the question or don't have any meaningful to add, please don't pollute the forum with further vacuous responses. I didn't ask, or expect, you to write the code for me.

christ on a stick, so many of you behave like prima donnas.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to