Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

one hyphen vs two hyphens command line

In unix-like systems,
One hypen (-) specifies short form of command line options.
Two hyphen characters (--) are used on some programs to specify 
"long options"  where more descriptive option names are used.

i.e.
program --version
program -v
 
PREVIOUS NEXT
Tagged: #hyphen #hyphens #command #line
ADD COMMENT
Topic
Name
7+5 =