2008-05-20 04:03:59 -05:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
#include <stdio.h>
|
2008-07-04 11:05:08 -05:00
|
|
|
#include <stdlib.h>
|
2008-06-10 11:01:15 -05:00
|
|
|
#include <string.h>
|
2008-05-20 04:03:59 -05:00
|
|
|
|
|
|
|
int
|
2008-06-14 04:03:29 -05:00
|
|
|
main(int argc, char *argv[]) {
|
2008-07-04 11:05:08 -05:00
|
|
|
if(argc == 2 && !strcmp("-v", argv[1])) {
|
|
|
|
fprintf(stderr, "st-"VERSION", © 2007-2008 st engineers, see LICENSE for details\n");
|
|
|
|
exit(EXIT_SUCCESS);
|
|
|
|
}
|
|
|
|
else if(argc != 1) {
|
|
|
|
fprintf(stderr, "usage: st [-v]\n");
|
|
|
|
exit(EXIT_FAILURE);
|
|
|
|
}
|
2008-05-20 04:03:59 -05:00
|
|
|
return 0;
|
|
|
|
}
|