Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 890800

Summary: [RHEVM-CLI]: adding to help message location of .rhevmshellrc and help for it
Product: Red Hat Enterprise Virtualization Manager Reporter: Ilia Meerovich <iliam>
Component: ovirt-engine-cliAssignee: Michael Pasternak <mpastern>
Status: CLOSED ERRATA QA Contact: Ilia Meerovich <iliam>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: bazulay, cboyle, dyasny, ecohen, iheim, oramraz, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: SF4 Doc Type: Enhancement
Doc Text:
If the user did not know the name or path of the CLI configuration file .rhevmshellrc it was difficult to locate. Information detailing the name and path of the configuration file has been added to the main help in the RHEVM shell.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-10 20:30:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 915537    

Description Ilia Meerovich 2012-12-30 09:14:35 UTC
For now user cannot know what is the name and path of cli configuration file.
It will ease user's life to add it to rhevm-shell basic help (rhevm-shell -h).
Also it could be useful to add short description of it to help message.

Comment 1 Michael Pasternak 2013-01-02 10:36:43 UTC
*** Bug 890802 has been marked as a duplicate of this bug. ***

Comment 2 Michael Pasternak 2013-01-06 12:58:31 UTC
http://gerrit.ovirt.org/#/c/10680/

added under main help in shell, dan please document it in cli guide as well.

thanks.

Comment 3 Ilia Meerovich 2013-02-05 09:43:38 UTC
[imeerovi@imeerovi ART]$ /usr/bin/rhevm-shell -c --url=https://leonid_rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I


 ==========================================
 >>> connected to RHEVM manager 3.1.0.0 <<<
 ==========================================


        
 ++++++++++++++++++++++++++++++++++++++++++
 
           Welcome to RHEVM shell
 
 ++++++++++++++++++++++++++++++++++++++++++
        
    
[RHEVM shell (connected)]# help

INTRODUCTION
  
  Welcome to RHEVM-shell. This program is an interactive command-line
  interface into RHEVM Virtualization. You can type any command in 
  the interface below.
  
AVAILABLE COMMANDS
  
    * action           execute an action on an object
    * add              creates a new object or adds existent
    * clear            clear the screen
    * connect          connect to a oVirt manager
    * console          open a console to a VM
    * disconnect       disconnect from oVirt manager
    * exit             quit this interactive terminal
    * help             show help
    * history          displaying commands history
    * info             shows environment and application components info
    * list             list or search objects
    * ping             test the connection
    * remove           removes an object
    * show             show one object
    * status           shows status and connection info
    * update           update an object
  
  Type 'help <command>' for any of these commands to show detailed help.
  The first command you probably want to issue is 'help connect' to
  learn how to connect to a oVirt manager.
  
COMMAND SYNTAX
  
  The general format for each command is:
  
    help <command> <command attributes> [command options]
  
  If arguments contain spaces or other reserved characters, you need to
  quote them. You can use single (') and double (") quotes for this. The
  difference between single and double quotes is that within single
  quotes you can't use any single quotes, while in double quotes you can
  use a double quote provided that you escape it with backslash ('\').
  
  Options are always in the long form: --option [value]. The value can
  be optional or mandatory, depending on the command, see command help
  for details.
  
  In addition to the basic command form, the following functionality is
  available:
  
    * You can use the '<', '<<', '>' and '>>' characters to perform
      shell-like redirections to files in the file system.
    * The output of any command can be piped to a shell command with
      the '|' character.
    * Shell commands can be executed by typing a '!' or 'shell' at the 
      beginning of a line.
    * Comments start with '#' and end at the end of a line.
      
EXAMPLES
  
  See 'SUPPORTED HELP FORMATS' section under each command help.
  
CONFIGURATION FILE
  
  RHEVM-Shell can be configured with configuration file, configuration file
  ( ~/.rhevmshellrc) automatically created under your home directory (if not exist)
  during the first shell execution.

Comment 4 errata-xmlrpc 2013-06-10 20:30:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0890.html