mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +02:00
sendtablename wip
This commit is contained in:
parent
fc1eaa503b
commit
1f35e4d04c
6 changed files with 114 additions and 24 deletions
|
|
@ -8,7 +8,8 @@ fn main() -> std::result::Result<(), Box<ParseError>> {
|
|||
|
||||
let args: Vec<_> = env::args().collect();
|
||||
if args.len() < 2 {
|
||||
panic!("1 argument required");
|
||||
println!("1 argument required");
|
||||
return Ok(());
|
||||
}
|
||||
let path = args[1].clone();
|
||||
let file = fs::read(path).expect("Unable to read file");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue