Skip to content

Commit

Permalink
Remove unused code for the with-dependencies flag
Browse files Browse the repository at this point in the history
The flag was not implemented and the getter method now panics for
unknown argument or group ids.
  • Loading branch information
nickelc committed Jan 11, 2024
1 parent 545eeb0 commit ece58f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bin/modiom/commands/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ pub fn cli() -> Command {
pub fn exec(config: &Config, args: &ArgMatches) -> CliResult {
let game_id = *args.get_one("game-id").expect("required arg");
let mod_ids = args.get_many("mod-id").expect("required arg");
let _with_deps = args.get_flag("with-dependencies");
let dest = args.get_path("dest").map(Cow::from).unwrap_or_default();

let rt = Runtime::new()?;
Expand Down

0 comments on commit ece58f8

Please sign in to comment.