Jump to content

Command-line argument parsing

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Tisane (talk | contribs) at 14:21, 6 May 2010 (Created page with 'Different '''Command-line argument parsing''' methods are used by different programming languages to parse command-line arguments. ==Programming languages=...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Different Command-line argument parsing methods are used by different programming languages to parse command-line arguments.

Programming languages

C

C uses argv to process command-line arguments.[1]

PHP

PHP uses argc as a count of arguments and argv as an array containing the values of the arguments.[2]

References