Skip to content

Commit

Permalink
fix: fixed wildcard handling on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pamburus committed Dec 17, 2024
1 parent 382a23e commit 991724a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
16 changes: 16 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ strum = { version = "0", features = ["derive"] }
thiserror = "1"
titlecase = "3"
toml = "0"
wild = "2"
wildflower = { git = "https://github.com/cassaundra/wildflower.git" }
winapi-util = { version = "0" }
wyhash = "0"
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl BootstrapOpt {
}

pub fn args() -> Vec<String> {
let mut args = std::env::args();
let mut args = wild::args();
let Some(first) = args.next() else {
return vec![];
};
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn run() -> Result<()> {
let settings = config::load(cli::BootstrapOpt::parse().args.config.as_deref())?;
config::global::initialize(settings.clone());

let opt = cli::Opt::parse();
let opt = cli::Opt::parse_from(wild::args());
if opt.help {
return cli::Opt::command().print_help().map_err(Error::Io);
}
Expand Down

0 comments on commit 991724a

Please sign in to comment.