Skip to content

Commit

Permalink
Updating package description.
Browse files Browse the repository at this point in the history
  • Loading branch information
TaborKelly committed Nov 26, 2015
1 parent bb3dba7 commit 4a29cd8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[package]
name = "enum-derive"
version = "0.2.0"
version = "0.2.1"
authors = ["Tabor Kelly <[email protected]>"]
license = "Apache-2.0/BSD-3-Clause-Clear/MIT"
description = "A simple program for generating rust enums and associated traits from text files."
homepage = "https://github.com/TaborKelly/rust-enum-derive"

[dependencies]
getopts = "0.2"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ allowed to look like C enums or C #defines.

## Usage
```
Usage: ./rust-enum-derive <options>
Crudely converts C enums (or #defines) into Rust enums.
Usage: ./enum-derive <options>
A simple program for generating rust enums and associated traits from text files.
Options:
-i, --input NAME input file name (stdin if not specified)
-o, --output NAME output file name (stdout if not specified)
Expand Down
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ fn parse_options() -> Args {

fn print_usage(program: &str, opts: Options) {
let brief = format!("Usage: {} <options>\n\
Crudely converts C enums (or #defines) into Rust enums.",
A simple program for generating rust enums and \
associated traits from text files.",
program);
print!("{}", opts.usage(&brief));
}
Expand Down

0 comments on commit 4a29cd8

Please sign in to comment.