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