1.2.0 :: added descriptions to all the flags in the help text
This commit is contained in:
parent
de10d3af6c
commit
2f658b0604
3 changed files with 10 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -144,7 +144,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "dolltool"
|
||||
version = "1.1.1"
|
||||
version = "1.2.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"num-bigint",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
license = "GPL-3.0-or-later"
|
||||
name = "dolltool"
|
||||
version = "1.1.1"
|
||||
version = "1.2.0"
|
||||
authors = ["ika4422"]
|
||||
description = "A simple dollcode encoder, decoder, and generator inside your terminal :3"
|
||||
edition = "2024"
|
||||
|
|
|
|||
|
|
@ -33,27 +33,35 @@ use crate::{
|
|||
#[command(author, version, about)]
|
||||
struct Args {
|
||||
#[arg(short, long)]
|
||||
/// Encodes the following integer or text into dollcode
|
||||
encode: Option<String>,
|
||||
|
||||
#[arg(short, long)]
|
||||
/// Decodes the following dollcode into an integer or text
|
||||
decode: Option<String>,
|
||||
|
||||
#[arg(short, long, default_value_t = false)]
|
||||
/// Specifies the encoding/decoding method as text, not as an integer
|
||||
text: bool,
|
||||
|
||||
#[arg(short, long)]
|
||||
/// Generates codes from a user-defined pattern (n = number; l = letter; a = alphanumeric)
|
||||
generate: Option<String>,
|
||||
|
||||
#[arg(short, long, default_value_t = 1)]
|
||||
/// Specifies how many codes to generate
|
||||
count: usize,
|
||||
|
||||
#[arg(short, long, default_value_t = false)]
|
||||
/// Outputs generated letters as uppercase as opposed to lowercase
|
||||
upper: bool,
|
||||
|
||||
#[arg(long, default_value_t = false)]
|
||||
/// Will generate codes without encoding it into dollcode
|
||||
no_doll: bool,
|
||||
|
||||
#[arg(long)]
|
||||
/// Display the license for dolltool
|
||||
license: bool,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue