> I agree, but we should get rid of this EXIT_* stuff altogether.
> My proposal:
> 
>       if (argc == 2 && !strcmp("-v", argv[1])) {
>               fputs("dwm-"VERSION, stdout);
>               return 0;
>       } else if (argc != 1)
>               die("usage: dwm [-v]");
> 
> What do you guys think about it?
I think you should use “puts("dwm-"VERSION);” ;p

Reply via email to