[__download] s/variable/format specification/

This commit is contained in:
ander 2020-07-08 00:20:55 +03:00
parent 93506d2113
commit e906266286
1 changed files with 2 additions and 2 deletions

View File

@ -44,14 +44,14 @@ cmd-get
Command used for downloading. Command used for downloading.
Command must output to ``stdout``. Command must output to ``stdout``.
Parameter will be used for ``printf`` and must include only one Parameter will be used for ``printf`` and must include only one
variable ``%s`` which will become URL. format specification ``%s`` which will become URL.
For example: ``wget -O - '%s'``. For example: ``wget -O - '%s'``.
cmd-sum cmd-sum
Command used for checksum calculation. Command used for checksum calculation.
Command output and ``--sum`` parameter must match. Command output and ``--sum`` parameter must match.
Parameter will be used for ``printf`` and must include only one Parameter will be used for ``printf`` and must include only one
variable ``%s`` which will become destination. format specification ``%s`` which will become destination.
For example: ``md5sum '%s' | awk '{print $1}'``. For example: ``md5sum '%s' | awk '{print $1}'``.