aboutsummaryrefslogtreecommitdiff
path: root/src/eclat.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-12-11 15:49:43 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2012-12-11 15:49:43 +0200
commit8bc5ddbfb6d5d91287af6da059bea245d09fcb4f (patch)
tree3657610db94892b5cff08a97f401fecb9989c3a1 /src/eclat.c
parent2fe31259571d24cd06292946a2a108046d3bc228 (diff)
downloadeclat-8bc5ddbfb6d5d91287af6da059bea245d09fcb4f.tar.gz
eclat-8bc5ddbfb6d5d91287af6da059bea245d09fcb4f.tar.bz2
Accept both Eclat command names and EC2 action names in format statements.
* src/util.c (eclat_actcmp): New function. * src/eclat.h (eclat_actcmp): New proto. * src/eclat.c (find_command_tag): Use eclat_actcmp.
Diffstat (limited to 'src/eclat.c')
-rw-r--r--src/eclat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eclat.c b/src/eclat.c
index 4d86b51..75e7c7d 100644
--- a/src/eclat.c
+++ b/src/eclat.c
@@ -369,7 +369,7 @@ find_command_tag(const char *tag)
struct command *cp;
for (cp = cmdtab; cp < cmdtab + cmdcnt; cp++) {
- if (strcmp(cp->tag, tag) == 0)
+ if (eclat_actcmp(cp->tag, tag) == 0)
return cp;
}
return NULL;

Return to:

Send suggestions and report system problems to the System administrator.