Bug 1321663 - virt-install: no presence of '--ram' in the help
Summary: virt-install: no presence of '--ram' in the help
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-28 20:08 UTC by Agostino Sarubbo
Modified: 2016-04-07 19:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 19:54:11 UTC


Attachments (Terms of Use)

Description Agostino Sarubbo 2016-03-28 20:08:43 UTC
virt-install --help shows:
usage: virt-install --name NAME --ram RAM STORAGE INSTALL [options]


However in the help there is no trace of --ram, but there is --memory


So, should --ram be replaced by --memory? Or if it is a different function/feature, you just need to document --ram to avoid confusion.



# virt-install --version                                                                                                                                                           
1.3.2

Comment 1 Cole Robinson 2016-04-07 19:54:11 UTC
Thanks for the report. --ram is an old option that's superceded by --memory. --ram still works but it's not recommended anymore. I fixed the --help output to suggest --memory instead:

commit 22022d95dc2033b2a771c57ec18021000bfef08d
Author: Cole Robinson <crobinso>
Date:   Thu Apr 7 15:52:07 2016 -0400

    virt-install: Don't show old --ram option in --help  (bz 1321663)


Note You need to log in before you can comment on or make changes to this bug.