Skip to content

Commit

Permalink
cli: better name and --version
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilou97 committed Feb 18, 2024
1 parent 37edbcc commit 0ea2809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ mod git;
mod parser;

#[derive(Debug, Parser)] // requires `derive` feature
#[command(name = "git")]
#[command(about = "A fictional versioning CLI", long_about = None)]
#[command(name = "yggit")]
#[command(version, about = "Git project manager", long_about = None)]
struct Cli {
#[command(subcommand)]
command: Commands,
Expand Down

0 comments on commit 0ea2809

Please sign in to comment.