-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Ack doesn't have options called --exclude or --exclude-dir or --exclude-type or whatever. That's fine. But maybe if the user specifies those by mistake it can print a tailored help message?
Unknown option: exclude
Did you mean:
--[no]ignore-dir=name Add/remove directory from list of ignored dirs
--ignore-file=FILTER:ARGS Add filter for ignoring files.
--type=noX Exclude X files, e.g. --nophp, --no-ruby.
The existing help text has a section "File inclusion/exclusion" so it's not completely mad to assume that the options would begin --include or --exclude.
hftf
Metadata
Metadata
Assignees
Labels
No labels