aboutsummaryrefslogtreecommitdiffstats
path: root/src/actionparser.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-05-03 03:06:50 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-05-03 12:09:27 +0300
commit3a3424774944a421e1b93cbaf533a3500a4d613c (patch)
tree8780bec2bbacde34cf861b7cd4dc11f6f07e813f /src/actionparser.c
parentac8a32e855b078e137fe5de4c2bbf9628c004532 (diff)
downloadck-3a3424774944a421e1b93cbaf533a3500a4d613c.tar.gz
ck-3a3424774944a421e1b93cbaf533a3500a4d613c.tar.bz2
ck-3a3424774944a421e1b93cbaf533a3500a4d613c.zip
add site and .gitignore
Diffstat (limited to 'src/actionparser.c')
-rw-r--r--src/actionparser.c16
1 files changed, 8 insertions, 8 deletions
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;