My build of suckless st terminal
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
409 B

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