aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.rs
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2022-05-23 04:13:00 +0000
committerSven-Hendrik Haase <svenstaro@gmail.com>2022-05-23 04:13:00 +0000
commitfc75c64d9fe519e2788e6e932011478a6c859594 (patch)
tree38ef618d56a726c8c2a65b2fb774920a0b4b34e8 /src/args.rs
parentAdd configuration `change-theme` (#805) (diff)
downloadminiserve-fc75c64d9fe519e2788e6e932011478a6c859594.tar.gz
miniserve-fc75c64d9fe519e2788e6e932011478a6c859594.zip
Flip usage of theme selector showing functionality added in last commit
This is so it doesn't break current configurations. Let's not surprise the users.
Diffstat (limited to 'src/args.rs')
-rw-r--r--src/args.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/args.rs b/src/args.rs
index 3ddfe8b..f02efa1 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -83,10 +83,6 @@ pub struct CliArgs {
#[clap(short = 'H', long = "hidden")]
pub hidden: bool,
- /// Show theme selector in frontend
- #[clap(long = "change-theme")]
- pub change_theme: bool,
-
/// Default color scheme
#[clap(
short = 'c',
@@ -172,6 +168,10 @@ pub struct CliArgs {
#[clap(short = 'F', long = "hide-version-footer")]
pub hide_version_footer: bool,
+ /// Hide theme selector
+ #[clap(long = "hide-theme-selector")]
+ pub hide_theme_selector: bool,
+
/// If enabled, display a wget command to recursively download the current directory
#[clap(short = 'W', long = "show-wget-footer")]
pub show_wget_footer: bool,