tracker issue : CF-4126683

select a category, or use search below
(searches all categories and all time range)
Title:

Need CLI.getUnnamedArgs() for "other" args

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Sean Corfield / Sean Corfield (Sean Corfield)

Created: 03/09/2016

Components: CLI

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Normal / Few users will encounter

Locale/System: English / Mac All

Vote Count: 0

Problem Description:

Currently CLI.getArgs() returns ALL arguments and CLI.getNamedArgs() returns just "named" arguments -- which means you need to parse "all arguments" to filter out any named ones so you get just the unnamed arguments.

Steps to Reproduce:

Call CLI.getArgs()

Actual Result:

Includes both named and unnamed arguments.

Expected Result:

There should be a way to get just the unnamed arguments.

Any Workarounds:

Manually parse the arguments yourself (ugh!).

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4126683

External Customer Info:
External Company: Railo US
External Customer Name: Sean Corfield
External Customer Email: SEAN@CORFIELD.ORG
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Date Closed newValue: 2015-11-03 02:26:54.0 oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-11-03 10:26:54.0 action: updated fieldName: Closed By newValue: hkallae oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-11-03 10:26:54.0 action: updated fieldName: Owner newValue: Blank oldValue: hkallae oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-11-03 10:26:54.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-11-03 10:26:54.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-11-03 10:26:54.0 action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-11-03 10:26:54.0 action: updated fieldName: Date Fixed newValue: 2015-10-25 21:50:53.0 oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-10-26 04:50:53.0 action: updated fieldName: Fixed By newValue: himar oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-10-26 04:50:53.0 action: updated fieldName: Owner newValue: hkallae oldValue: himar oprid: himar recordName: RQ_DEFECT timpestamp: 2015-10-26 04:50:53.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: himar recordName: RQ_DEFECT timpestamp: 2015-10-26 04:50:53.0 action: updated fieldName: Reason newValue: Fixed oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-10-26 04:50:53.0 action: updated fieldName: Changelist newValue: 296116 oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-10-26 04:50:53.0 action: updated fieldName: Severity newValue: 0 oldValue: 2 oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-18 10:28:25.0 action: updated fieldName: Fix By Milestone newValue: Beta oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:12:52.0 action: updated fieldName: Priority newValue: 2 oldValue: 0 oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:12:52.0 action: updated fieldName: Fix By Product Milestone newValue: Beta oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:12:52.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:12:52.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:12:52.0 action: updated fieldName: Owner newValue: himar oldValue: hkallae oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:12:52.0
Comment by CFwatson U.
3514 | March 09, 2016 04:37:29 AM GMT
Added By: PreRelease User User Name:Adam Cameron Note Added: Yeah, CLI.getUnnamedArgs() seems to work OK in the beta released 2015-12-07 Date Added :2015-12-08 08:25:03.0 Added By: PreRelease User User Name:Sean Corfield Note Added: Verified still open in 9/15 Alpha. Date Added :2015-09-15 21:15:37.0 Added By: PreRelease User User Name:Sean Corfield Note Added: Entered Bug. Date Added :2015-07-20 17:00:55.0
Comment by CFwatson U.
3515 | March 09, 2016 04:37:30 AM GMT