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
commita4e3e95194684e280bb5ec7d3a1fe2ccda3c59be (patch)
tree8e78431653d5a5186b259dc24c71c6d0c2a34c83 /st.c
parent9e7b36d72bc7c378c378c438fb45a4cf595209a4 (diff)
downloadst-a4e3e95194684e280bb5ec7d3a1fe2ccda3c59be.tar.gz
st-a4e3e95194684e280bb5ec7d3a1fe2ccda3c59be.tar.bz2
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;
+}