Template:Fgmeta clone: Difference between revisions
Jump to navigation
Jump to search
(Added the 'opt' parameter of any additional command line options.) |
(Added the 'post' parameter.) |
||
Line 5: | Line 5: | ||
| type = git | | type = git | ||
| proj = fgmeta | | proj = fgmeta | ||
| post = {{{post|}}} | |||
| full = 1 | | full = 1 | ||
}} }}<noinclude> | }} }}<noinclude> | ||
Line 14: | Line 15: | ||
== Usage == | == Usage == | ||
{{obr}}'''fgmeta clone''' | {{obr}}'''fgmeta clone''' | ||
{{!}} ''opt'' = | {{!}} ''opt'' = | ||
{{!}} ''post'' = | |||
{{cbr}} | {{cbr}} | ||
; opt: Any additional options. | ; opt: Any additional options to show after <code>git clone</code>. | ||
; post: Any optional text to show after the URL. | |||
== Example == | == Example == | ||
{{obr}}fgmeta clone | {{obr}}fgmeta clone | ||
{{!}} opt = --recursive | {{!}} opt = --recursive | ||
{{!}} post = flightgear-fgmeta | |||
{{cbr}} | {{cbr}} | ||
{{fgmeta clone | {{fgmeta clone | ||
| opt = --recursive | | opt = --recursive | ||
| post = flightgear-fgmeta | |||
}} | }} | ||
Revision as of 11:49, 25 February 2016
git clone git://git.code.sf.net/p/fgmeta/flightgear/
The following template description is not displayed when the template is inserted in an article.
Goal
To provide a consistent representation of the command to clone the FGMeta git repository.
Usage
{{fgmeta clone | opt = | post = }}
- opt
- Any additional options to show after
git clone
.
- post
- Any optional text to show after the URL.
Example
{{fgmeta clone | opt = --recursive | post = flightgear-fgmeta }}
git clone --recursive git://git.code.sf.net/p/fgmeta/flightgear/ flightgear-fgmeta
Related templates
|