2008-05-20 09:03:59 +00:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
#include <stdio.h>
|
2008-07-04 16:05:08 +00:00
|
|
|
#include <stdlib.h>
|
2008-06-10 16:01:15 +00:00
|
|
|
#include <string.h>
|
2008-05-20 09:03:59 +00:00
|
|
|
|
|
|
|
int
|
2008-06-14 09:03:29 +00:00
|
|
|
main(int argc, char *argv[]) {
|
2008-07-04 16:05:08 +00: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 09:03:59 +00:00
|
|
|
return 0;
|
|
|
|
}
|