summaryrefslogtreecommitdiff
path: root/lib/command_match.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_match.h')
-rw-r--r--lib/command_match.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/command_match.h b/lib/command_match.h
index 728d9c1d95..ac4e70c316 100644
--- a/lib/command_match.h
+++ b/lib/command_match.h
@@ -50,9 +50,10 @@ enum matcher_rv
/* completion match types */
enum match_type
{
- no_match,
- partly_match,
- exact_match
+ trivial_match, // the input is null
+ no_match, // the input does not match
+ partly_match, // the input matches but is incomplete
+ exact_match // the input matches and is complete
};
/* Defines which matcher_rv values constitute an error. Should be used with