Skip to content

Commit

Permalink
Use eprintln
Browse files Browse the repository at this point in the history
  • Loading branch information
twitu committed Mar 25, 2024
1 parent cc81d64 commit 600e197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs-storage/examples/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ fn main() {
let mut fs = FileStorage::new("cli".to_string(), Path::new(path));
fs.write_file(&kv_pairs).unwrap();
}
_ => println!("Invalid command. Use 'read' or 'write'."),
_ => eprintln!("Invalid command. Use 'read' or 'write'."),
}
}

0 comments on commit 600e197

Please sign in to comment.