vmware-archive / haret

A strongly consistent distributed coordination system, built using proven protocols & implemented in Rust.
461 stars 18 forks source link

Correct v2r2-cli-client example and improve incorrect usage behavior #45

Closed beerriot closed 8 years ago

beerriot commented 8 years ago

v2r2-cli-client expects a UUID, not ::::, as the readme had said. Correct the readme and help message.

Also check the args and print a more helpful message if they're wrong or missing.

This is my first Rust code, so please let me know if there's a more idiomatic way to do this.

andrewjstone commented 8 years ago

:+1: Thanks @beerriot !