Bug 1321663

Summary: virt-install: no presence of '--ram' in the help
Product: [Community] Virtualization Tools Reporter: Agostino Sarubbo <ago>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, gscrivan, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 19:54:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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)