mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
tools: drop unused --version argument
These tools never supported passing an argument to --version, this is a copy+paste mistake from virsh, which did support an argument. Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
1 parent
8ee395d843
commit
1d7ce1c071
2 files changed
+2
-2
No files matched your search
@@ -180,7 +180,7 @@ main(int argc, char **argv)
|
||||
|
||||
struct option opt[] = {
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
{ "version", optional_argument, NULL, 'V' },
|
||||
{ "version", no_argument, NULL, 'V' },
|
||||
{ NULL, 0, NULL, 0 },
|
||||
};
|
||||
if (virInitialize() < 0) {
|
||||
|
||||
@@ -62,7 +62,7 @@ main(int argc,
|
||||
|
||||
struct option opt[] = {
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
{ "version", optional_argument, NULL, 'v' },
|
||||
{ "version", no_argument, NULL, 'v' },
|
||||
{ NULL, 0, NULL, 0 },
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user