aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
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;
+}
remember that computers suck.