Skip to content

Commit

Permalink
Include encode/decode in help text.
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 committed Sep 22, 2020
1 parent 9727755 commit a5a1f8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.rs
Expand Up @@ -13,7 +13,10 @@ type Error = Box<dyn std::error::Error>;
type Operation = fn(BufReader<File>) -> Result<Vec<u8>, Error>;

fn print_help() {
eprintln!("Usage: {} <character.dat ..>", env!("CARGO_PKG_NAME"));
eprintln!(
"Usage: {} <encode|decode> <character.dat ..>",
env!("CARGO_PKG_NAME")
);
}

fn main() -> Result<(), Error> {
Expand Down

0 comments on commit a5a1f8e

Please sign in to comment.