Skip to content

Commit

Permalink
update command line help desciption
Browse files Browse the repository at this point in the history
  • Loading branch information
Joeyh021 committed Oct 25, 2021
1 parent ca23ca6 commit fff7bac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Joe Harrison <[email protected]>"]
edition = "2021"
repository = "https://github.com/Joeyh021/PATP"
license = "MIT"
description = "An emulator and assembler for the PATP microprocessor"
description = "An emulator and assembler for the Pedagogically Advanced Teaching Processor"
readme = "README.md"

[dependencies]
Expand Down
9 changes: 6 additions & 3 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
use clap::{App, Arg, ArgGroup};

pub fn args() -> clap::App<'static, 'static> {
let version = env!("CARGO_PKG_VERSION");
let author = env!("CARGO_PKG_AUTHORS");
let description = env!("CARGO_PKG_DESCRIPTION");
App::new("PATP Toolkit")
.version("0.1.2")
.author("Joey Harrison")
.about("An emulator and assembler for the Pedagogically Advanced Teaching Processor")
.version(version)
.author(author)
.about(description)
.arg(
Arg::with_name("emulate")
.takes_value(true)
Expand Down

0 comments on commit fff7bac

Please sign in to comment.