From fb7e3e1352aeca03909ae3720c8cae90fcd57186 Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 8 May 2018 16:44:05 +0300 Subject: user args an now cklist type --- src/actionparser.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/actionparser.h') diff --git a/src/actionparser.h b/src/actionparser.h index 1c4e539..01f32a5 100644 --- a/src/actionparser.h +++ b/src/actionparser.h @@ -22,6 +22,8 @@ #ifndef ACTIONPARSER_H #define ACTIONPARSER_H +#include "cklist.h" + #define CK_ACTIONS \ X(INIT) \ X(ADD) \ @@ -62,8 +64,7 @@ struct UserOptions { ParseError err; CkAction action; char *confDir; - int argc; - char *argv[10]; // action's options + cklist *args; }; -- cgit v1.2.3