Skip to content

squeekboard-test-layout: add argument parsing and some more output

Some small changes to squeekboard-test-layout while learning rust:

  • added a short about text, usage and version information using the clap crate (which makes this really comfortable)
  • version information is copied from the CARGO_PKG_VERSION of the rs package
  • added Test result: OK, as feedback if no errors are found instead of nothing at all

@dorota.czaplejewicz: Didn't know if it's OK to add clap as another dependency, but I thought it would be better for layout maintainers to have at least some usage information and feedback. If you think this doesn't fit in, just delete the MR.

Edited by Mark Müller

Merge request reports