diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2008-05-20 10:03:59 +0100 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2008-05-20 10:03:59 +0100 |
commit | 1987ae4bacf58c588bbc967434be4e39125c37f9 (patch) | |
tree | 8e78431653d5a5186b259dc24c71c6d0c2a34c83 /st.c | |
parent | 16f373e36cb2ef0512ac8a281cc18132b2b14b98 (diff) | |
download | st-1987ae4bacf58c588bbc967434be4e39125c37f9.tar.gz st-1987ae4bacf58c588bbc967434be4e39125c37f9.tar.bz2 |
added some new files for the initial rewrite of st from scratch
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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; +} |