Message ID | 167749934774.3717671.17030093662637799219.stgit@fed.void |
---|---|
State | Not Applicable |
Headers | show |
Series | [ovs-dev,1/2] cli: add option to display the version from Cargo.toml. | expand |
Context | Check | Description |
---|---|---|
ovsrobot/apply-robot | fail | apply and check: fail |
ovsrobot/intel-ovs-compilation | fail | test: fail |
Sorry for the noise, but this local test got sent unintentionally. Please, ignore it. Paolo Valerio <pvalerio@redhat.com> writes: > Signed-off-by: Paolo Valerio <pvalerio@redhat.com> > --- > src/cli/cli.rs | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/cli/cli.rs b/src/cli/cli.rs > index a5b08e6..f8593e1 100644 > --- a/src/cli/cli.rs > +++ b/src/cli/cli.rs > @@ -73,6 +73,7 @@ impl Debug for dyn SubCommand { > /// > /// packet-tracer is a tool for capturing networking-related events from the system using ebpf and analyzing them. > #[derive(Args, Default, Debug)] > +#[command(version)] > pub(crate) struct MainConfig {} > > /// ThinCli handles the first (a.k.a "thin") round of Command Line Interface parsing.
diff --git a/src/cli/cli.rs b/src/cli/cli.rs index a5b08e6..f8593e1 100644 --- a/src/cli/cli.rs +++ b/src/cli/cli.rs @@ -73,6 +73,7 @@ impl Debug for dyn SubCommand { /// /// packet-tracer is a tool for capturing networking-related events from the system using ebpf and analyzing them. #[derive(Args, Default, Debug)] +#[command(version)] pub(crate) struct MainConfig {} /// ThinCli handles the first (a.k.a "thin") round of Command Line Interface parsing.
Signed-off-by: Paolo Valerio <pvalerio@redhat.com> --- src/cli/cli.rs | 1 + 1 file changed, 1 insertion(+)