Template:Command Option Table/testcases: Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
(Created page with "<noinclude>{{Template testcases notice}}</noinclude> {{Testcase|title=Single option in table |<nowiki>{{Command Option Table|1= {{Command Option|long=input|short=i|type-strin...")
 
m (Protected "Template:Command Option Table/testcases" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(No difference)

Latest revision as of 12:42, 19 April 2017

Single option in table
Wiki code {{Command Option Table|1= {{Command Option|long=input|short=i|type-string|input file to read|required=yes}} }}

Main version
1Long form options are prefixed with --; 2Short form options are prefixed with -.
Long form1 Short form2 Option type Required? Description
input i string Yes input file to read
Sandbox version Template:Command Option Table/sandbox
Two options in table
Wiki code {{Command Option Table|1= {{Command Option|long=input|short=i|type=string|input file to read|required=yes}} {{Command Option|long=output|type=string|output file to write}} }}

Main version
1Long form options are prefixed with --; 2Short form options are prefixed with -.
Long form1 Short form2 Option type Required? Description
input i string Yes input file to read
output string No output file to write
Sandbox version Template:Command Option Table/sandbox