Argument

Updated: 04/26/2017 by Computer Hope

Sometimes abbreviated as arg, when referring to programming or the command line an argument is a value that is passed into a command, function, or routine. In the example below, "myfile.txt" is the argument for the edit command.

edit myfile.txt

In the above example, additional arguments or switches could be added to the command to perform additional functions. For example, adding a /b switch to this command would force the edit command to open in monochrome mode.

Command line, Programming terms, Syntax