mirror of
https://github.com/Noratrieb/m8db.git
synced 2026-01-15 07:45:03 +01:00
better info
This commit is contained in:
parent
7506fc7478
commit
64baa7a749
4 changed files with 65 additions and 45 deletions
|
|
@ -2,7 +2,7 @@ mod db;
|
|||
mod stmt;
|
||||
|
||||
fn main() {
|
||||
let filename = match std::env::args().skip(1).next() {
|
||||
let filename = match std::env::args().nth(1) {
|
||||
Some(name) => name,
|
||||
None => {
|
||||
eprintln!("error: no file provided.\nUsage: <filename>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue