Skip to content

Commit

Permalink
chore: add about message
Browse files Browse the repository at this point in the history
  • Loading branch information
wfxr committed Sep 18, 2020
1 parent a037d45 commit a2b2f9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ use structopt::clap::{self, arg_enum, AppSettings};
pub use structopt::StructOpt;

#[derive(StructOpt)]
#[structopt(global_settings(&[AppSettings::ColoredHelp]))]
#[structopt(
global_settings(&[AppSettings::ColoredHelp]),
about = env!("CARGO_PKG_DESCRIPTION"))
]
pub struct Opt {
/// File to read
#[structopt(name = "FILE")]
Expand Down

0 comments on commit a2b2f9d

Please sign in to comment.