Bug 866537 - inappropriate message when giving wrong number of arguments
Summary: inappropriate message when giving wrong number of arguments
Keywords:
Status: CLOSED INSUFFICIENT_DATA
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: ---
: ---
Assignee: Michael Pasternak
QA Contact: Oded Ramraz
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-15 15:11 UTC by Gal Leibovici
Modified: 2016-02-10 19:27 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-18 08:31:32 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Gal Leibovici 2012-10-15 15:11:43 UTC
Description of problem:
When giving wrong number of arguments to rhevm-shell it gives an error message,
then the welcome shell message and  then (shell disconnected).

I think it should only print an error message and quit.

Reproduce:
connect to rhevm-shell and give an additional parameter, "" in the middle

Expected:
Error message about number of arguments and quit

Actual:
Error message, welcome message then disconnect message and finally quit.

Comment 1 Michael Pasternak 2012-10-16 06:30:45 UTC
(In reply to comment #0)
> 
> Actual:
> Error message, welcome message then disconnect message and finally quit.

iiuc you trying connect to the shell from linux specifying arguments 
incorrectly,

in this case all true but "finally quit", cause you enter to the shell (this is 
the reason for the welcome message), but in /disconnected mode,

and the reason for entering shell is so you can see detail help
for /connect command (all mentioned above is by-design)


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