Updated: 12/31/2022 by Computer Hope

Sometimes abbreviated as arg, 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" to the end of the command would force the edit command to open in monochrome mode.

ARG, Command line, Computer abbreviations, Programming terms, Syntax