Template:Repo link/doc git source: Difference between revisions

Jump to navigation Jump to search
Addition of the 'opt' parameter.
m (Usage doc fix.)
(Addition of the 'opt' parameter.)
Line 6: Line 6:
  {{obr}}'''{{{repo|MISSING}}} source'''
  {{obr}}'''{{{repo|MISSING}}} source'''
  {{!}} ''cmd''        =
  {{!}} ''cmd''        =
{{!}} ''opt''        =
  {{!}} ''protocol''  =
  {{!}} ''protocol''  =
  {{!}} ''login''      =
  {{!}} ''login''      =
Line 26: Line 27:


; cmd: An optional command line tool name + options to prepend to the URL.  For example '''git clone'''.
; cmd: An optional command line tool name + options to prepend to the URL.  For example '''git clone'''.
; opt: Any additional options to show after '''cmd''', if supplied.


; protocol: The URL protocol, for example '''https''', '''http''', '''git''', or '''ssh'''.  This defaults to '''https'''.
; protocol: The URL protocol, for example '''https''', '''http''', '''git''', or '''ssh'''.  This defaults to '''https'''.

Navigation menu