mirror of
https://github.com/edu4rdshl/rusnapshot.git
synced 2026-07-17 23:24:55 +00:00
(chore): more sensible defaults.
This commit is contained in:
parent
844b6543b4
commit
b8b2c6f0f8
1 changed files with 2 additions and 2 deletions
|
|
@ -38,10 +38,10 @@ pub struct Args {
|
||||||
#[clap(long = "kind", default_value = "rusnapshot")]
|
#[clap(long = "kind", default_value = "rusnapshot")]
|
||||||
pub snapshot_kind: String,
|
pub snapshot_kind: String,
|
||||||
/// Keep only the last X items.
|
/// Keep only the last X items.
|
||||||
#[clap(short = 'k', long = "keep", default_value = "10")]
|
#[clap(short = 'k', long = "keep", default_value = "3")]
|
||||||
pub keep_only: usize,
|
pub keep_only: usize,
|
||||||
/// Time in milliseconds until `SQLite` can return a timeout. Do not touch if you don't know what you are doing.
|
/// Time in milliseconds until `SQLite` can return a timeout. Do not touch if you don't know what you are doing.
|
||||||
#[clap(long = "timeout", default_value = "5000")]
|
#[clap(long = "timeout", default_value = "10000")]
|
||||||
pub timeout: usize,
|
pub timeout: usize,
|
||||||
/// Create a read-only/ro snapshot.
|
/// Create a read-only/ro snapshot.
|
||||||
#[clap(long = "create", conflicts_with_all = &["restore_snapshot", "delete_snapshot", "list_snapshots", "clean_snapshots"])]
|
#[clap(long = "create", conflicts_with_all = &["restore_snapshot", "delete_snapshot", "list_snapshots", "clean_snapshots"])]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue