Skip to content

Commit ad3d38a

Browse files
authored
Fix: version as option not a mandatory argument (#2187)
1 parent 83b3b4e commit ad3d38a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • rust/src/openvasd/config

rust/src/openvasd/config/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ impl Config {
609609
)
610610
.arg(
611611
clap::Arg::new("version")
612+
.long("version")
612613
.action(ArgAction::SetTrue)
613614
.help("Show openvasd version and exit."),
614615
)

0 commit comments

Comments
 (0)