From 3a3424774944a421e1b93cbaf533a3500a4d613c Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 3 May 2018 03:06:50 +0300 Subject: add site and .gitignore --- src/actionparser.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/actionparser.c b/src/actionparser.c index 756d6d5..b3afbfc 100644 --- a/src/actionparser.c +++ b/src/actionparser.c @@ -18,14 +18,14 @@ /* accepted commands */ /* [0] is the count */ -const char* const strINIT[] = {"2", "init", "-i"}; -const char* const strADD[] = {"2", "add", "-a"}; -const char* const strDEL[] = {"2", "del", "-d"}; -const char* const strEDIT[] = {"3", "edit", "e", "-e"}; -const char* const strLIST[] = {"3", "list", "ls", "-ls"}; -const char* const strSEARCH[] = {"3", "search", "s", "-s"}; -const char* const strHELP[] = {"4", "help", "?", "-h", "--help"}; -const char* const strConfDir[] = {"3", "config", "conf", "-c"}; +const char* const strINIT[] = {"3", "init", "i", "-i"}; +const char* const strADD[] = {"3", "add", "a", "-a"}; +const char* const strDEL[] = {"3", "del", "d", "-d"}; +const char* const strEDIT[] = {"3", "edit", "e", "-e"}; +const char* const strLIST[] = {"5", "list", "l", "ls", "-l", "-ls"}; +const char* const strSEARCH[] = {"3", "search", "s", "-s"}; +const char* const strHELP[] = {"5", "help", "h", "-?", "-h", "--help"}; +const char* const strConfDir[] = {"4", "config", "conf", "c", "-c"}; /* Number of opts */ static int optNum; -- cgit v1.2.3