From b2650da556a3e3e6adf934b78f821776db033723 Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Thu, 15 Jul 2021 02:11:04 -0400 Subject: [PATCH] Documented more CLI options --- src/config.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/config.rs b/src/config.rs index 5209ec9..e5293c3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -301,8 +301,11 @@ struct CliArgs { /// respectively. #[clap(short, long, parse(from_occurrences), conflicts_with = "verbose")] pub quiet: usize, + /// Unstable options. Intentionally not documented. #[clap(short = 'Z', long)] pub unstable_options: Vec, + /// Override the image server with the one provided. Do not set this unless + /// you know what you're doing. #[clap(long)] pub override_upstream: Option, /// Enables ephemeral disk encryption. Items written to disk are first @@ -310,8 +313,11 @@ struct CliArgs { /// performance, privacy, and usability with this flag enabled. #[clap(short, long)] pub ephemeral_disk_encryption: bool, + /// The path to the config file. Default value is `./settings.yaml`. #[clap(short, long)] pub config_path: Option, + /// Whether to use an in-memory cache in addition to the disk cache. Default + /// value is "on_disk", other options are "lfu" and "lru". #[clap(short = 't', long)] pub cache_type: Option, }