st.c 316 B

123456789101112
  1. /* See LICENSE file for copyright and license details. */
  2. #include "util.h"
  3. #include <stdio.h>
  4. int
  5. Xmain(int argc, char *argv[]) {
  6. if(argc == 2 && !strcmp("-v", argv[1]))
  7. eprint("st-"VERSION", © 2007-2008 st engineers, see LICENSE for details\n");
  8. else if(argc != 1)
  9. eprint("usage: st [-v]\n");
  10. return 0;
  11. }