diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-04-22 03:14:35 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-04-22 03:14:35 +0300 |
commit | 3560d8be4b833e888e8386a3dc641fa164b4b808 (patch) | |
tree | 252de8e5a09a4efa0f3a55284bf77d081c318779 /src/actionparser.c | |
parent | eb43b94476e1ed11eb7f7c181f8e0046e3f91ba4 (diff) | |
download | ck-3560d8be4b833e888e8386a3dc641fa164b4b808.tar.gz ck-3560d8be4b833e888e8386a3dc641fa164b4b808.tar.bz2 ck-3560d8be4b833e888e8386a3dc641fa164b4b808.zip |
Add licence and copyright notice
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"}; |