Talk:Parse command-line arguments: Difference between revisions

Content added Content deleted
(Created page with "Getopt documentation is often too sparse to be useful--one reason I started this article. The phone call example is just a quick example. I think we should define a more useful ...")
 
No edit summary
Line 1: Line 1:
Reasons for this article:
Getopt documentation is often too sparse to be useful--one reason I started this article.

* Getopt documentation is often too sparse to be useful
* Different languages have different pattern syntax (think C's "a:b:cd" getopt syntax)
* As with [[ScriptedMain]], this behavior is as useful as it is obscure.
* getopt is not Google-friendly: the results tend to be C programs embedding the language in question.


The phone call example is just a quick example. I think we should define a more useful CLI example for each language.
The phone call example is just a quick example. I think we should define a more useful CLI example for each language.