Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Not appropiate exit msg in glob cmd

Closed / Duplicate2821897fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 6 years ago
Descriptionplain2009-07-15 14:24:01
Executing glob command with repeated 'directroy' switch gives misleading exit message. For example:
input: glob -dir / -dir /home
output: "-directory" cannot be used with "-path"

The same is in -path switch.
dgp Ticket [2821897fff]: 1 change [History diff]2009-07-15 23:00:28
stuplain2018-06-14 13:03:16
Also with -path.

% glob -path / -path / q
"-path" cannot be used with "-directory"

This situation demands some tests be written.

Attached is a patch that passes the Tcl tests.
jan.nijtmanswiki2020-10-08 10:39:44

Duplicate of [014ade1d44]

Log in (anonymous is fine) to add a comment.

Attachments: