Template:Simgear clone: Difference between revisions

Jump to navigation Jump to search
Added the 'opt' and 'post' parameters and a category.
m (Repo name fix.)
(Added the 'opt' and 'post' parameters and a category.)
Line 1: Line 1:
{{#tag:nowiki | {{repo link
{{#tag:nowiki | {{repo link
| site    = sf
| site    = sf
| cmd      = git clone
| cmd      = git clone {{{opt|}}}
| protocol = git
| protocol = git
| type    = git
| type    = git
| proj    = simgear
| proj    = simgear
| post    = {{{post|}}}
| full    = 1
| full    = 1
}} }}<noinclude>
}} }}<noinclude>
Line 13: Line 14:


== Usage ==
== Usage ==
  {{obr}}'''simgear clone'''{{cbr}}
  {{obr}}'''simgear clone'''
{{!}} ''opt''  =
{{!}} ''post'' =
{{cbr}}
 
; opt: Any additional options to show after <code>git clone</code>.
 
; post: Any optional text to show after the URL.


== Example ==
== Example ==
  {{obr}}simgear clone{{cbr}}
  {{obr}}simgear clone
{{simgear clone}}
{{!}} opt  = -v
{{!}} post = flightgear-simgear
{{cbr}}
 
{{simgear clone
| opt  = -v
| post = flightgear-simgear
}}


== Related templates ==
== Related templates ==
Line 23: Line 38:


}}</noinclude>
}}</noinclude>
[[Category:SCM Instruction Templates]]

Navigation menu