Added README.md LICENSE.md
+ Also made --help more useful
This commit is contained in:
+3
-1
@@ -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>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user