From 67c91ccad78886bbfb5a7d75bc99e259ee895e72 Mon Sep 17 00:00:00 2001 From: Waradu Date: Sun, 20 Oct 2024 12:06:21 +0200 Subject: [PATCH] fixed help command binary name --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb6a009..3fb6a56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1306,7 +1306,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "to-streamshare" -version = "0.3.0" +version = "0.3.1" dependencies = [ "clap", "streamshare", diff --git a/Cargo.toml b/Cargo.toml index 832d3fe..6109e55 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "to-streamshare" -version = "0.3.0" +version = "0.3.1" edition = "2021" description = "Upload to streamshare (to-ss > toss) from the terminal" license = "MIT" diff --git a/src/main.rs b/src/main.rs index 1ec2224..0c36555 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,7 +2,7 @@ use clap::{CommandFactory, Parser}; use streamshare::{delete, upload}; #[derive(Parser, Debug)] -#[command(version, about, long_about = None)] +#[command(name = "toss", version, about, long_about = None)] struct Args { file: Option,