summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2024-09-04 09:56:42 +0200
committerfxqnlr <[email protected]>2024-09-04 09:56:42 +0200
commitf5e070cdf6628a5ebd981d373929802317104e24 (patch)
treee31c88371737e20b2cc79bf9ee0c1dbfdeb6e727 /src/main.rs
parent1d64516ed95266a4fc1f8a18652f99158a4004f1 (diff)
downloadmodlist-f5e070cdf6628a5ebd981d373929802317104e24.tar
modlist-f5e070cdf6628a5ebd981d373929802317104e24.tar.gz
modlist-f5e070cdf6628a5ebd981d373929802317104e24.zip
clippy --fix
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 5d60a17..21f2a30 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -28,7 +28,7 @@ enum Commands {
28 #[command(subcommand)] 28 #[command(subcommand)]
29 command: ListCommands, 29 command: ListCommands,
30 30
31 /// Force GameVersion update 31 /// Force `GameVersion` update
32 #[arg(long)] 32 #[arg(long)]
33 force_gameupdate: bool, 33 force_gameupdate: bool,
34 }, 34 },
@@ -262,7 +262,7 @@ async fn main() {
262 Some(l) => lists_get(&config, &l).unwrap(), 262 Some(l) => lists_get(&config, &l).unwrap(),
263 None => get_current_list(&config).unwrap(), 263 None => get_current_list(&config).unwrap(),
264 }; 264 };
265 liststack.push(current) 265 liststack.push(current);
266 } 266 }
267 267
268 update(&config, liststack, clean, download, remove).await 268 update(&config, liststack, clean, download, remove).await
@@ -284,7 +284,7 @@ async fn main() {
284 Some(l) => lists_get(&config, &l).unwrap(), 284 Some(l) => lists_get(&config, &l).unwrap(),
285 None => get_current_list(&config).unwrap(), 285 None => get_current_list(&config).unwrap(),
286 }; 286 };
287 liststack.push(current) 287 liststack.push(current);
288 } 288 }
289 289
290 download(&config, liststack, clean, remove).await 290 download(&config, liststack, clean, remove).await