summaryrefslogtreecommitdiff
path: root/cmarkdown.c
diff options
context:
space:
mode:
authorgottox@rootkit.lan <gottox@rootkit.lan>2007-12-10 12:43:27 +0100
committergottox@rootkit.lan <gottox@rootkit.lan>2007-12-10 12:43:27 +0100
commitc40dc50ec04d88624e1d57e52821b4dd22870dca (patch)
treeb40fb69d71b0e8fc84e56ff60d1668b8efbaf851 /cmarkdown.c
parentb65bc6d92bc260d97747d5423c2936f80bab1628 (diff)
Adding Makefile, changing to MIT/X License
Diffstat (limited to 'cmarkdown.c')
-rw-r--r--cmarkdown.c22
1 files changed, 3 insertions, 19 deletions
diff --git a/cmarkdown.c b/cmarkdown.c
index dd2f735..80c9c74 100644
--- a/cmarkdown.c
+++ b/cmarkdown.c
@@ -1,23 +1,7 @@
/* cmarkdown
- * Copyright (C) <2007> Enno boland <g@s01.de>
+ * Copyright (C) <2007> Enno boland <g s01 de>
*
- * cmarkdown free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- *
- * To compile type
- * gcc -DVERSION=\"`date +%F`\" -o cmarkdown cmarkdown.c
+ * See LICENSE for further informations
*/
#include <stdlib.h>
@@ -315,7 +299,7 @@ main(int argc, char *argv[]) {
source = stdin;
if(argc > 1 && strcmp("-v", argv[1]) == 0)
- eprint("markdown in C "VERSION" (C) Enno Boland\n");
+ eprint("markdown in C %s (C) Enno Boland\n",VERSION);
else if(argc > 1 && strcmp("-h", argv[1]) == 0)
eprint("Usage %s [-n] [file]\n -n escape html strictly\n",argv[0]);