Xinqi Bao's Git

remove TODO
[st.git] / st.c
1 /* See LICENSE file for copyright and license details. */
2 #include <stdio.h>
3 #include <stdlib.h>
4 #include <string.h>
5
6 int
7 main(int argc, char *argv[]) {
8 if(argc == 2 && !strcmp("-v", argv[1])) {
9 fprintf(stderr, "st-"VERSION", © 2007-2008 st engineers, see LICENSE for details\n");
10 exit(EXIT_SUCCESS);
11 }
12 else if(argc != 1) {
13 fprintf(stderr, "usage: st [-v]\n");
14 exit(EXIT_FAILURE);
15 }
16 return 0;
17 }