Re: [ovs-dev] [PATCH 1/2] cli: add option to display the version from Cargo.toml.
Bleep bloop. Greetings Paolo Valerio, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. git-am: error: sha1 information is lacking or useless (src/cli/cli.rs). error: could not build fake ancestor hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 cli: add option to display the version from Cargo.toml. When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". Patch skipped due to previous failure. Please check this out. If you feel there has been an error, please email acon...@redhat.com Thanks, 0-day Robot ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] [PATCH 1/2] cli: add option to display the version from Cargo.toml.
Sorry for the noise, but this local test got sent unintentionally. Please, ignore it. Paolo Valerio writes: > Signed-off-by: Paolo Valerio > --- > 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. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
[ovs-dev] [PATCH 1/2] cli: add option to display the version from Cargo.toml.
Signed-off-by: Paolo Valerio --- 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. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev