aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options.c b/options.c
index 9c260e26..4f6aa6fe 100644
--- a/options.c
+++ b/options.c
@@ -403,6 +403,11 @@ options_match(const char *s, int *idx, int* ambiguous)
name = options_parse(s, idx);
namelen = strlen(name);
+ if (*name == '@') {
+ *ambiguous = 0;
+ return (xstrdup(name));
+ }
+
found = NULL;
for (oe = options_table; oe->name != NULL; oe++) {
if (strcmp(oe->name, name) == 0) {