Skip to content

Commit

Permalink
Add --version argument to binaries
Browse files Browse the repository at this point in the history
CMK-18367
  • Loading branch information
jherbel committed Jul 22, 2024
1 parent 9fbdff5 commit 7493b43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/agent_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::fs::read_to_string;
use std::io;

#[derive(Parser)]
#[command(about = "Robotmk agent plugin.")]
#[command(about = "Robotmk agent plugin.", version)]
struct Args {
/// Configuration file path.
#[clap(name = "CONFIG_PATH")]
Expand Down
2 changes: 1 addition & 1 deletion src/bin/scheduler/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use clap::{ArgAction, Parser};
use flexi_logger::LogSpecification;

#[derive(Parser)]
#[command(about = "Robotmk scheduler.")]
#[command(about = "Robotmk scheduler.", version)]
pub struct Args {
/// Configuration file path.
#[arg(name = "CONFIG_PATH")]
Expand Down

0 comments on commit 7493b43

Please sign in to comment.