Bug 784678
Summary: | JON 3.0.1 RC#1: Error executing CLI Doc example for 'record' command | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Mike Foley <mfoley> |
Component: | CLI | Assignee: | Charles Crouch <ccrouch> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.0.1 | CC: | ccrouch, hbrock, hrupp, skondkar, spinder |
Target Milestone: | --- | ||
Target Release: | JON 3.0.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-03 15:10:11 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 782579 |
Description
Mike Foley
2012-01-25 19:26:54 UTC
12/30/2012 BZ triage meeting mfoley, ccrouch, loleary, asantos Fixed in master - http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=55a89fa - we now throw a command line parse exception if the -f option is not specified, e.g.: rhqadmin@localhost:7080$ record -b org.rhq.enterprise.client.script.CommandLineParseException: The file option must be specified. at org.rhq.enterprise.client.commands.RecordCommand.parseArgs(RecordCommand.java:100) at org.rhq.enterprise.client.commands.RecordCommand.execute(RecordCommand.java:47) at org.rhq.enterprise.client.ClientMain.executePromptCommand(ClientMain.java:288) at org.rhq.enterprise.client.ClientMain$1.run(ClientMain.java:242) at java.lang.Thread.run(Thread.java:662) Moving to ON_QA as there is a new binary 3.0.1.GA RC2 available here to test with: https://brewweb.devel.redhat.com//buildinfo?buildID=197202 Verified on 3.0.1.GA RC2 build (Build Number: b2cb23b:859b914) If the -f option is not specified, it throws a CommandLineParseException: The file option must be specified. [root@suniltest bin]# ./rhq-cli.sh -u rhqadmin -p rhqadmin RHQ Enterprise Remote CLI 4.2.0.JON.3.0.1.GA Remote server version is: 3.0.1.GA (b2cb23b:859b914) Login successful rhqadmin@localhost:7080$ record -b myoutfile.txt org.rhq.enterprise.client.script.CommandLineParseException: The file option must be specified. at org.rhq.enterprise.client.commands.RecordCommand.parseArgs(RecordCommand.java:102) at org.rhq.enterprise.client.commands.RecordCommand.execute(RecordCommand.java:49) at org.rhq.enterprise.client.ClientMain.executePromptCommand(ClientMain.java:309) at org.rhq.enterprise.client.ClientMain$1.run(ClientMain.java:263) at java.lang.Thread.run(Thread.java:619) rhqadmin@localhost:7080$ ---------------------------- Verified that specifying the file option works: rhqadmin@localhost:7080$ record -b -f myoutfile.txt Bulk closing of old issues in VERIFIED state. |