diff --git a/Cargo.toml b/Cargo.toml index 1bddc40..fa247f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,4 +39,4 @@ pretty_assertions = "1.4" commodore = ["dep:forbidden-bands"] [[example]] -name="parser" +name="image-rider" diff --git a/README.md b/README.md index b254c73..75ece23 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,12 @@ STX: An Atari ST STX Disk Image You can run the example application with the following command: -RUST_LOG=debug cargo run --example parser -- --input FILENAME +RUST_LOG=debug cargo run --example image-rider -- --input FILENAME To save track or sector image data (for example, the FAT filesystem embedded in a STX image): -RUST_LOG=debug cargo run --example parser -- --input INFILENAME --output OUTFILENAME +RUST_LOG=debug cargo run --example image-rider -- --input INFILENAME --output OUTFILENAME There are several sanity checks in the code to panic or exit the @@ -34,7 +34,13 @@ parsing failures. To disable checksum checks, pass the --ignore-checksums command line flag to the parser example: -RUST_LOG=debug cargo run --example parser -- --ignore-checksums --input FILENAME +RUST_LOG=debug cargo run --example image-rider -- --ignore-checksums --input FILENAME + +## Install locally + +To install the example application locally, run: + +cargo install --path . --examples # Development diff --git a/examples/parser.rs b/examples/image-rider.rs similarity index 100% rename from examples/parser.rs rename to examples/image-rider.rs