Added README.md LICENSE.md

+ Also made --help more useful
This commit is contained in:
2021-10-09 14:09:21 -06:00
parent ef8918d517
commit 2697b4b848
3 changed files with 53 additions and 1 deletions
+3 -1
View File
@@ -10,11 +10,13 @@ mod parser;
#[derive(Debug, StructOpt)]
#[structopt(name = "Formaty", about = "Arbitrary Binary Data Formatting")]
pub struct Args {
#[structopt(parse(from_os_str))]
#[structopt(parse(from_os_str), help = "Path to the format config")]
config: PathBuf,
#[structopt(help = "Format to parse data as")]
format: String,
#[structopt(help = "Raw data")]
data: Vec<String>,
}