Skip to content

Commit 45c55a6

Browse files
committed
Clarify freeze/unfreeze commands' purpose in help text
1 parent 4ff8668 commit 45c55a6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ Commands:
112112
remove Removes one pin entry
113113
import-niv Try to import entries from Niv
114114
import-flake Try to import entries from flake.lock
115-
freeze Freeze a pin entry
116-
unfreeze Thaw a pin entry
115+
freeze Freezes a pin entry, preventing it from being changed during an update
116+
unfreeze Thaws a pin entry, allowing it to be changed during an update like a normal pin
117117
get-path Evaluates the store path to a pin, fetching it if necessary. Don't forget to add a GC root
118118
help Print this message or the help of the given subcommand(s)
119119

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,10 +547,10 @@ pub enum Command {
547547
/// Try to import entries from flake.lock
548548
ImportFlake(ImportFlakeOpts),
549549

550-
/// Freeze a pin entry
550+
/// Freezes a pin entry, preventing it from being changed during an update
551551
Freeze(FreezeOpts),
552552

553-
/// Thaw a pin entry
553+
/// Thaws a pin entry, allowing it to be changed during an update like a normal pin
554554
Unfreeze(FreezeOpts),
555555

556556
/// Evaluates the store path to a pin, fetching it if necessary. Don't forget to add a GC root

0 commit comments

Comments
 (0)