From 46732115816e00c2304fcf0764c48fd667613dcc Mon Sep 17 00:00:00 2001 From: Nikolay Arhipov Date: Mon, 9 Sep 2024 13:49:31 +0300 Subject: [PATCH] chore: clippy fixes --- src/commands/build.rs | 4 ++-- src/commands/logs.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/build.rs b/src/commands/build.rs index 99b46b8..28a62ff 100644 --- a/src/commands/build.rs +++ b/src/commands/build.rs @@ -27,7 +27,7 @@ pub struct Build { #[command(subcommand)] cmd: BuildCmd, - /// An alphanumeric string of 9 characters. Used as a fallback in case title_id is not defined in Cargo.toml. + /// An alphanumeric string of 9 characters. Used as a fallback in case `title_id` is not defined in Cargo.toml. #[arg(long, env="VITA_DEFAULT_TITLE_ID", value_parser = clap::value_parser!(TitleId))] default_title_id: Option, @@ -53,7 +53,7 @@ enum BuildCmd { #[derive(Args, Debug)] struct Eboot { - /// Uploads eboot.bin to ux0:app/{title_id}/eboot.bin + /// Uploads eboot.bin to `ux0:app/{title_id}/eboot.bin` #[arg(long, default_value = "false")] update: bool, /// Runs the updated app. If multiple eboot files are updated, only the last one is run. diff --git a/src/commands/logs.rs b/src/commands/logs.rs index f3cbb71..5988012 100644 --- a/src/commands/logs.rs +++ b/src/commands/logs.rs @@ -26,7 +26,7 @@ pub struct Logs { pub enum LogsCmd { /// Start a TCP server on 0.0.0.0 and print to stdout all bytes read from the socket Listen, - /// Reconfigures PrincessLog via vitacompanion. + /// Reconfigures `PrincessLog` via vitacompanion. /// This will upload the configuration file with the ip address of your host and a port to your Vita. Configure(Configure), }