diff options
Diffstat (limited to 'src/actionparser.c')
-rw-r--r-- | src/actionparser.c | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/actionparser.c b/src/actionparser.c index cba732e..bfa4f5b 100644 --- a/src/actionparser.c +++ b/src/actionparser.c @@ -1,3 +1,18 @@ +/* actionparser.c - Action parser for ck -------------------------------*- C -*- + * + * This file is part of ck, the config keeper + * + * ----------------------------------------------------------------------------- + * + * Copyright (C) 2018 Anastasis Grammenos + * GPLv3 (see LICENCE for the full notice) + * + * ----------------------------------------------------------------------------- + * + * The following code is resposinble for parsing the command line arguments + * and report any errors that might come up. + * + * -------------------------------------------------------------------------- */ #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> @@ -8,11 +23,6 @@ #include "actionparser.h" -/* -------------------------------------------------------------------------- - * The following code is resposinble for parsing the command line arguments - * and report any errors that might come up. - * -------------------------------------------------------------------------- */ - /* accepted commands */ /* [0] is the count */ const char* const strINIT[] = {"2", "init", "-i"}; |