[dev] Re: [dev] Re: [dev] Re: [dev] Re: [dev] [dev] Usage, -h, --help, help, synopsis, …

2010-08-21 Thread yy
2010/8/21 Suraj Kurapati : > I like to put documentation at the head of a file because that's only > part anyone will read before deciding if it's worth spending their > time to delve into the rest of the shell script.  Also, I don't like > messing up my program's indentation because I have to emit

[dev] Re: [dev] Re: [dev] Re: [dev] Re: [dev] [dev] Usage, -h, --help, help, synopsis, …

2010-08-18 Thread Connor Lane Smith
2010/8/18 Alexander Teinum : > I’d like to write a KISS option parser that accepts “program -c -a -f > some_file”, but not “program -ca -fsome_file”. I prefer to keep the > rules simple. Such a simple option set probably doesn't actually *need* a parser. I don't think any lines would be freed up i