Skip to content

Commit 418253f

Browse files
committed
Documented --pin and --unpin options
1 parent be9ecd3 commit 418253f

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

docs/details/cli.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,14 @@ Returns an exit status of <code>0</code> if it selected a set of versions, and a
272272
<td><nobr><code>--customize</code></nobr><br>(Windows only)</td>
273273
<td>Show the graphical policy editor. This allows you to customize which version of a program or library to use.</td>
274274
</tr>
275+
<tr>
276+
<td><nobr><code>--pin</code></nobr><br>(Windows only)</td>
277+
<td>Marks the selected version as preferred for future runs.</td>
278+
</tr>
279+
<tr>
280+
<td><nobr><code>--unpin</code></nobr><br>(Windows only)</td>
281+
<td>Releases versions previously marked as preferred.</td>
282+
</tr>
275283
<tr>
276284
<td><nobr><code>-o</code></nobr><br/><nobr><code>--offline</code></nobr></td>
277285
<td>Run in off-line mode, overriding the default setting.
@@ -367,6 +375,14 @@ Returns an exit status of <code>0</code> if it selected a suitable set of versio
367375
<td><nobr><code>--customize</code></nobr><br>(Windows only)</td>
368376
<td>Show the graphical policy editor. This allows you to customize which version of a program or library to use.</td>
369377
</tr>
378+
<tr>
379+
<td><nobr><code>--pin</code></nobr><br>(Windows only)</td>
380+
<td>Marks the selected version as preferred for future runs.</td>
381+
</tr>
382+
<tr>
383+
<td><nobr><code>--unpin</code></nobr><br>(Windows only)</td>
384+
<td>Releases versions previously marked as preferred.</td>
385+
</tr>
370386
<tr>
371387
<td><nobr><code>-o</code></nobr><br/><nobr><code>--offline</code></nobr></td>
372388
<td>Run in off-line mode, overriding the default setting.
@@ -466,6 +482,14 @@ This is similar to <a href='#download'><code>0install download --refresh</code><
466482
<td><nobr><code>--customize</code></nobr><br>(Windows only)</td>
467483
<td>Show the graphical policy editor. This allows you to customize which version of a program or library to use.</td>
468484
</tr>
485+
<tr>
486+
<td><nobr><code>--pin</code></nobr><br>(Windows only)</td>
487+
<td>Marks the selected version as preferred for future runs.</td>
488+
</tr>
489+
<tr>
490+
<td><nobr><code>--unpin</code></nobr><br>(Windows only)</td>
491+
<td>Releases versions previously marked as preferred.</td>
492+
</tr>
469493
<tr>
470494
<td><nobr><code>--with-store <code>DIR</code></code></nobr></td>
471495
<td>Add <code>DIR</code> to the list of implementation caches to search.
@@ -548,6 +572,14 @@ Returns an exit status of <code>1</code> if the download step failed. Otherwise,
548572
<td><nobr><code>--customize</code></nobr><br>(Windows only)</td>
549573
<td>Show the graphical policy editor. This allows you to customize which version of a program or library to use.</td>
550574
</tr>
575+
<tr>
576+
<td><nobr><code>--pin</code></nobr><br>(Windows only)</td>
577+
<td>Marks the selected version as preferred for future runs.</td>
578+
</tr>
579+
<tr>
580+
<td><nobr><code>--unpin</code></nobr><br>(Windows only)</td>
581+
<td>Releases versions previously marked as preferred.</td>
582+
</tr>
551583
<tr>
552584
<td><nobr><code>-o</code></nobr><br/><nobr><code>--offline</code></nobr></td>
553585
<td>Run in off-line mode, overriding the default setting.
@@ -683,6 +715,14 @@ Exports all feeds and implementations required to launch the program specified b
683715
<td><nobr><code>--customize</code></nobr><br>(Windows only)</td>
684716
<td>Show the graphical policy editor. This allows you to customize which version of a program or library to use.</td>
685717
</tr>
718+
<tr>
719+
<td><nobr><code>--pin</code></nobr><br>(Windows only)</td>
720+
<td>Marks the selected version as preferred for future runs.</td>
721+
</tr>
722+
<tr>
723+
<td><nobr><code>--unpin</code></nobr><br>(Windows only)</td>
724+
<td>Releases versions previously marked as preferred.</td>
725+
</tr>
686726
<tr>
687727
<td><nobr><code>-o</code></nobr><br/><nobr><code>--offline</code></nobr></td>
688728
<td>Run in off-line mode, overriding the default setting.

0 commit comments

Comments
 (0)