aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-03-25 22:47:46 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2023-03-25 22:47:46 +0200
commitcc3cf3353f23dd2f87412d42f8c3d52f873711dd (patch)
tree94336a9ccee6451baeca51abff53da7e7e9c6230 /src/main.c
parentbb261ad231c3683a36d516c4caf9b2a06ce0145f (diff)
downloadek-cc3cf3353f23dd2f87412d42f8c3d52f873711dd.tar.gz
ek-cc3cf3353f23dd2f87412d42f8c3d52f873711dd.zip
add formatter
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index c63c042..b4643bb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
@@ -7,13 +9,13 @@
#include <cu/compiler.h>
static const char *cmdline_usage =
-"Copper compiler usage:\n"
-" cu [-I <dir>...] [-D <var>...] infile...\n"
-" -h Show usage (this)\n"
-" -I <dir> Add directory to import path\n"
-" -D <var> Add predefined variable\n"
-" -o Name of output\n"
-" infile Top file(s) to compile\n"
+ "Copper compiler usage:\n"
+ " cu [-I <dir>...] [-D <var>...] infile...\n"
+ " -h Show usage (this)\n"
+ " -I <dir> Add directory to import path\n"
+ " -D <var> Add predefined variable\n"
+ " -o Name of output\n"
+ " infile Top file(s) to compile\n"
;
static void usage()