From a74b0fede24c70d4305b9a6ccd7a487c4fdbbd41 Mon Sep 17 00:00:00 2001 From: emma Date: Mon, 19 Dec 2022 14:28:28 -0500 Subject: [PATCH] added more usage info --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index fc449f7..364704c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,7 +28,7 @@ fn main() { let mut arguments: Vec = env::args().collect(); let argv0 = arguments.remove(0); 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 } let input = &arguments[1];