25 lines
912 B
Diff
25 lines
912 B
Diff
Subject: virt-install: --help required options are wrong
|
|
From: Cole Robinson crobinso@redhat.com Sun Aug 21 16:08:37 2022 -0400
|
|
Date: Sun Aug 21 16:10:55 2022 -0400:
|
|
Git: a254ece0f0497d062a0e4c94dc45619649ea4922
|
|
|
|
Nowadays it could be as simple as `virt-install --install fedora36`.
|
|
|
|
Trying to represent the interdepencies here is not worth it, but
|
|
let's keep a simple string around to avoid the default parser
|
|
usage string, which is huge
|
|
|
|
Signed-off-by: Cole Robinson <crobinso@redhat.com>
|
|
|
|
--- a/virtinst/virtinstall.py
|
|
+++ b/virtinst/virtinstall.py
|
|
@@ -1019,7 +1019,7 @@ def xml_to_print(guest, installer, xmlon
|
|
|
|
def parse_args():
|
|
parser = cli.setupParser(
|
|
- "%(prog)s --name NAME --memory MB STORAGE INSTALL [options]",
|
|
+ "%(prog)s OPTIONS",
|
|
_("Create a new virtual machine from specified install media."),
|
|
introspection_epilog=True)
|
|
cli.add_connect_option(parser)
|