Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2014-06-17
14:30 • Closed ticket [f0f876c141]: Inconsistent terminology in error messages: option v... artifact: 82f2e56baa user: dkf
14:30
[f0f876c141] Improve consistency in error messages. check-in: fffc281b07 user: dkf tags: trunk
2014-06-13
00:51 • New ticket [f0f876c141] Inconsistent terminology in error messages: option vs. s... artifact: 20afb5f2eb user: andy

Inconsistent terminology in error messages: option vs. switch

Closed / Fixedf0f876c141139439586fa28de774889055df7edbCreated 12 years agoUpdated 12 years ago
Descriptionplain2014-06-13 00:51:36
Sometimes it's a bad switch, other times it's a bad option.  Here's one example of the inconsistency:

% regsub -help a b
bad switch "-help": must be -all, -nocase, -expanded, -line, -linestop, -lineanchor, -start, or --
% switch -asdf a b
bad option "-asdf": must be -exact, -glob, -indexvar, -matchvar, -nocase, -regexp, or --

Other kinds of inconsistencies exist, but I want to address only one at a time.
Referenced by1
dkf Closed ticket [f0f876c141]. [History diff]2014-06-17 14:30:41
Log in (anonymous is fine) to add a comment.