14 Nov
2012
14 Nov
'12
2:57 p.m.
On Nov 14, 2012, at 05:57 AM, Eli Bendersky wrote:
Why does it have to be a single letter? Many tools today demand fully spelled out command-line flags for readability, and this also helps avoid clashes and cryptic flags no one remembers anyway. So if you want isolate mode, what's wrong with "--isolated" ?
% head -1 foo.py #!/usr/bin/python3 -Es % ./foo.py hello world % head -1 bar.py #!/usr/bin/python3 -E -s % ./bar.py Unknown option: - usage: /usr/bin/python3 [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information. So if you need to put multiple options on your shebang line, long options won't work. Cheers, -Barry