nix-prefetch-url: Improve option handling

This commit is contained in:
Eelco Dolstra 2012-10-23 18:04:00 +02:00
parent 2980d1fba9
commit a28b4445a4
3 changed files with 42 additions and 10 deletions

View file

@ -91,8 +91,9 @@ cryptographic hash as <literal>nix-store --dump
<varlistentry><term><option>--type</option> <replaceable>hashAlgo</replaceable></term>
<listitem><para>Specify a cryptographic hash, which can be one of
<literal>md5</literal>, <literal>sha1</literal>, and
<listitem><para>Use the specified cryptographic hash algorithm,
which can be one of <literal>md5</literal>,
<literal>sha1</literal>, and
<literal>sha256</literal>.</para></listitem>
</varlistentry>