mirror of
https://github.com/NixOS/nix.git
synced 2025-02-16 17:02:28 +00:00
Update documentation to include +N format
This commit is contained in:
parent
cc5f679c88
commit
f7c4601548
@ -15,6 +15,8 @@ R""(
|
||||
This command deletes non-current versions of a profile, making it
|
||||
impossible to roll back to these versions. By default, all non-current
|
||||
versions are deleted. With `--older-than` *N*`d`, all non-current
|
||||
versions older than *N* days are deleted.
|
||||
versions older than *N* days are deleted. With `--older-than` `+`*N*,
|
||||
*N* older versions than the current version will be kept, the rest
|
||||
removed.
|
||||
|
||||
)""
|
||||
|
@ -939,8 +939,8 @@ struct CmdProfileWipeHistory : virtual StoreCommand, MixDefaultProfile, MixDryRu
|
||||
.longName = "older-than",
|
||||
.description =
|
||||
"Delete versions older than the specified age. *age* "
|
||||
"must be in the format *N*`d`, where *N* denotes a number "
|
||||
"of days.",
|
||||
"must be in the format *N*`d` or `+`*N* where *N* denotes a number. "
|
||||
"Use `d` for days and `+` for absolute number to keep.",
|
||||
.labels = {"age"},
|
||||
.handler = {&minAge},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user