Template:Command Option/testcases: Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
(Initial Commit)
 
No edit summary
Line 1: Line 1:
<noinclude>{{Template testcases notice}}</noinclude>
<noinclude>{{Template testcases notice}}</noinclude>
{{Testcase|title=Single command in table
{{Testcase|title=Single command in table
|<nowiki>{{Linux Command Table|1=
|<nowiki>{{Command Option Table|1=
  {{Command Option|ls|wiki=Ls|man=man1/ls.1.html|list directory contents}}
  {{Command Option|--input|-i|string|input file to read|required=yes}}
  }}
  }}
</nowiki>
</nowiki>
|{{Command Option Table|1=
|{{Command Option Table|1=
  {{Command Option|--input|-i|string|required=yes|input file to read}}
  {{Command Option|--input|-i|string|input file to read|required=yes}}
  }}
  }}
|{{Command Option Table/sandbox|1=
|{{Command Option Table/sandbox|1=
  {{Command Option/sandbox|--input|-i|string|required=yes|input file to read}}
  {{Command Option/sandbox|--input|-i|string|input file to read|required=yes}}
  }}
  }}
}}
}}

Revision as of 11:09, 19 April 2017

Single command in table
Wiki code {{Command Option Table|1= {{Command Option|--input|-i|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
Yes --input
Sandbox version Template:Command Option Table/sandbox