Bug 890800 - [RHEVM-CLI]: adding to help message location of .rhevmshellrc and help for it
Summary: [RHEVM-CLI]: adding to help message location of .rhevmshellrc and help for it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.2.0
Assignee: Michael Pasternak
QA Contact: Ilia Meerovich
URL:
Whiteboard: infra
: 890802 (view as bug list)
Depends On:
Blocks: 915537
TreeView+ depends on / blocked
 
Reported: 2012-12-30 09:14 UTC by Ilia Meerovich
Modified: 2016-02-10 19:02 UTC (History)
9 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-06-10 20:30:10 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0890 0 normal SHIPPED_LIVE rhevm-cli bug fix and enhancement update 2013-06-11 00:24:57 UTC
oVirt gerrit 10680 0 None None None Never

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


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