Ticket UUID: | 2544618 | |||
Title: | [interp cancel] hard limit on switches | |||
Type: | Bug | Version: | obsolete: 8.6b1.1 | |
Submitter: | dgp | Created on: | 2009-01-29 04:17:26 | |
Subsystem: | 20. [interp] | Assigned To: | mistachkin | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2009-02-06 08:02:21 | |
Resolution: | Fixed | Closed By: | mistachkin | |
Closed on: | 2009-02-06 01:02:21 | |||
Description: |
Possibly this isn't a bug, but I think the usual practice when a command has switches and uses "--" to mark their end is for any number of them to be permitted, including redundant repeats. However [interp cancel] enforces a hard max of 4 arguments. % interp cancel -unwind -unwind -unwind -unwind -- wrong # args: should be "interp cancel ?-unwind? ?--? ?path? ?result?" % interp cancel -unwind -unwind -unwind -unwind eval unwound | |||
User Comments: |
mistachkin added on 2009-02-06 08:02:21:
allow_comments - 1 mistachkin added on 2009-02-06 08:02:17: Patch committed to HEAD. mistachkin added on 2009-01-29 11:55:08: File Added - 311077: interp_cancel.zip This patch should fix both issues. File Added: interp_cancel.zip dgp added on 2009-01-29 11:27:40: Appears that excess args following $path and $result are not checked for either. |
Attachments:
- interp_cancel.zip [download] added by mistachkin on 2009-01-29 11:55:08. [details]