aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-20 10:03:59 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-20 10:03:59 +0100
commit1987ae4bacf58c588bbc967434be4e39125c37f9 (patch)
tree8e78431653d5a5186b259dc24c71c6d0c2a34c83 /st.c
parent16f373e36cb2ef0512ac8a281cc18132b2b14b98 (diff)
downloadst-1987ae4bacf58c588bbc967434be4e39125c37f9.tar.gz
st-1987ae4bacf58c588bbc967434be4e39125c37f9.tar.bz2
st-1987ae4bacf58c588bbc967434be4e39125c37f9.zip
added some new files for the initial rewrite of st from scratch
Diffstat (limited to 'st.c')
-rw-r--r--st.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/st.c b/st.c
new file mode 100644
index 0000000..33f165c
--- /dev/null
+++ b/st.c
@@ -0,0 +1,11 @@
+/* See LICENSE file for copyright and license details. */
+#include <stdio.h>
+
+int
+main(int argc, char *argv[]) {
+ if(argc == 2 && !strcmp("-v", argv[1]))
+ eprint("st-"VERSION", © 2007-2008 st engineers, see LICENSE for details\n");
+ else if(argc != 1)
+ eprint("usage: st [-v]\n");
+ return 0;
+}