added more usage info
This commit is contained in:
parent
4e3c5e21f5
commit
a74b0fede2
@ -28,7 +28,7 @@ fn main() {
|
|||||||
let mut arguments: Vec<String> = env::args().collect();
|
let mut arguments: Vec<String> = env::args().collect();
|
||||||
let argv0 = arguments.remove(0);
|
let argv0 = arguments.remove(0);
|
||||||
if arguments[1].is_empty() {
|
if arguments[1].is_empty() {
|
||||||
eprintln!("Usage: {} [table...].[value] [file...]", argv0);
|
eprintln!("Usage: {} [table...].[value[index]] [file...]", argv0);
|
||||||
process::exit(64); // sysexits(3) EX_USAGE
|
process::exit(64); // sysexits(3) EX_USAGE
|
||||||
}
|
}
|
||||||
let input = &arguments[1];
|
let input = &arguments[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user