diff options
Diffstat (limited to 'SlackTools')
-rw-r--r-- | SlackTools/plugin.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SlackTools/plugin.py b/SlackTools/plugin.py index 26b63ab..7630976 100644 --- a/SlackTools/plugin.py +++ b/SlackTools/plugin.py @@ -155,10 +155,10 @@ class SlackTools(callbacks.Plugin): """ <filename> Search the Slackware package database for packages that contain files - named <filename>. This is a case-sensitive exact match, by default (e.g. - "/bin/ls" does not match "/usr/bin/ls" nor "/bin/lsattr"). You can use * - for globbing, e.g. "/bin/ls*" to match all files in /bin whose names begin - with "ls". + named <filename>. This is a case-sensitive match. If <filename> + begins with a slash (/), it's an exact match (e.g. /bin/ls will not + match /bin/lsattr). If the first character is not a slash, it's a + substring match (so bin/ls will match both /bin/ls and /bin/lsattr). """ self.PkgQuery(irc, msg, 'file', file) |