Talk:Parse command-line arguments: Difference between revisions

Line 45:
 
Comments please. --[[User:Paddy3118|Paddy3118]] 06:59, 13 September 2011 (UTC)
 
:Do you mean follow the conventions of an OS which might be different from the one where the command line is being used? Or do you mean that the program should detect what OS it is running under (and, for an interpreted language, that can change without any changes in the program). Meanwhile, the rules for quote handling under windows look [http://ss64.com/nt/cmd.html baroque]. Also the concept of "followed by a string" can be ambiguous (in the same option? in the next option? in the same option after an = character? ...) And then there's the handling of -- followed by whitespace that should probably be respected if we are using hyphen to delimit command line options? Meanwhile, another possibility here (one that seems to have been followed by some "implementations") is that of documenting the default parsing provided by the language. --[[User:Rdm|Rdm]] 10:36, 13 September 2011 (UTC)
6,962

edits