Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/commands/buffrs-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ using the `BUFFRS_CACHE` environment variable (see

#### `--preserve-local-mtime`

Preserve access time information when installing a local dependency. Defaults to
Preserve modification time information when installing a local dependency. Defaults to
`true`.
2 changes: 1 addition & 1 deletion docs/src/commands/buffrs-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Generates a release tarball for the package in the current directory.
* `--dry-run`: prevents buffrs from actually writing the tarball to the filesystem
* `--output-directory`: allows you to specify a directory to output the package
* `--set-version`: allows you to override the version set in the manifest
* `--preserve-mtime`: preserve access time information when creating a package (defaults to `false`)
* `--preserve-mtime`: preserve modification time information when creating a package (defaults to `false`)


### Description
Expand Down
2 changes: 1 addition & 1 deletion docs/src/commands/buffrs-publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ uncommitted changes.
* `--dry-run`: causes a release bundle to be generated but skips uploading to
the registry.
* `--set-version`: allows you to override the version set in the manifest
* `--preserve-mtime`: preserve access time information when creating a package (defaults to `true`)
* `--preserve-mtime`: preserve modification time information when creating a package (defaults to `true`)

### Description

Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ enum Command {
/// Note: This overrides the version in the manifest.
#[clap(long)]
set_version: Option<Version>,
/// Indicate whether access time information is preserved when creating a package.
/// Indicate whether modification time information is preserved when creating a package.
#[clap(long)]
#[arg(default_value_t = false)]
preserve_mtime: bool,
Expand All @@ -127,15 +127,15 @@ enum Command {
/// Note: This overrides the version in the manifest.
#[clap(long)]
set_version: Option<Version>,
/// Indicate whether access time information is preserved when creating a package.
/// Indicate whether modification time information is preserved when creating a package.
#[clap(long)]
#[arg(default_value_t = true)]
preserve_mtime: bool,
},

/// Installs dependencies
Install {
/// Indicate whether access time information is preserved when installing a local.
/// Indicate whether modification time information is preserved when installing a local.
#[clap(long)]
#[arg(default_value_t = true)]
preserve_local_mtime: bool,
Expand Down
Loading