Skip to content

Commit 8250aa5

Browse files
committed
fix(flags): Minor fix for setting flags
Signed-off-by: dark0dave <[email protected]>
1 parent f3d1bcf commit 8250aa5

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mod_installer"
3-
version = "11.1.0"
3+
version = "11.1.1"
44
edition = "2021"
55
authors = [ "dark0dave" ]
66
documentation = "https://raw.githubusercontent.com/dark0dave/mod_installer/main/README.md"

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{ pkgs ? import <nixpkgs> { } }:
22
pkgs.rustPlatform.buildRustPackage rec {
33
pname = "mod_installer";
4-
version = "11.1.0";
4+
version = "11.1.1";
55
cargoLock.lockFile = ./Cargo.lock;
66
src = pkgs.lib.cleanSource ./.;
77
buildInputs = with pkgs; [

src/config/args.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ pub(crate) struct Options {
160160
short,
161161
long,
162162
num_args=0..=1,
163-
action = clap::ArgAction::Set,
163+
action = clap::ArgAction::SetFalse,
164164
default_value_t = true,
165165
default_missing_value = "true",
166166
value_parser = BoolishValueParser::new(),
@@ -173,7 +173,7 @@ pub(crate) struct Options {
173173
short,
174174
long,
175175
num_args=0..=1,
176-
action = clap::ArgAction::Set,
176+
action = clap::ArgAction::SetTrue,
177177
default_value_t = false,
178178
default_missing_value = "false",
179179
value_parser = BoolishValueParser::new(),
@@ -227,7 +227,7 @@ pub(crate) struct Options {
227227
short,
228228
long,
229229
num_args=0..=1,
230-
action = clap::ArgAction::SetFalse,
230+
action = clap::ArgAction::SetTrue,
231231
default_value_t = false,
232232
default_missing_value = "false",
233233
value_parser = BoolishValueParser::new(),

0 commit comments

Comments
 (0)