diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2017-10-10 11:11:27 -0500 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:53:24 -0600 |
commit | 3518dba2a5fb57f601b74528ddeb67f173e4024b (patch) | |
tree | 680c384eecbef2d9894eef8bc6044c4b449177b1 /st.c | |
parent | 3e44ee5569a81ba6f06e1ecd19bf0ceb1e97f18d (diff) | |
download | st-3518dba2a5fb57f601b74528ddeb67f173e4024b.tar.gz st-3518dba2a5fb57f601b74528ddeb67f173e4024b.zip |
Move usage() to be with run() in x.c
run/usage/xinit are now all internal to x.c
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -28,8 +28,6 @@ | |||
28 | #include <X11/cursorfont.h> | 28 | #include <X11/cursorfont.h> |
29 | #include <X11/Xft/Xft.h> | 29 | #include <X11/Xft/Xft.h> |
30 | 30 | ||
31 | char *argv0; | ||
32 | |||
33 | #define Glyph Glyph_ | 31 | #define Glyph Glyph_ |
34 | #define Font Font_ | 32 | #define Font Font_ |
35 | 33 | ||
@@ -2687,16 +2685,3 @@ cresize(int width, int height) | |||
2687 | tresize(col, row); | 2685 | tresize(col, row); |
2688 | xresize(col, row); | 2686 | xresize(col, row); |
2689 | } | 2687 | } |
2690 | |||
2691 | void | ||
2692 | usage(void) | ||
2693 | { | ||
2694 | die("usage: %s [-aiv] [-c class] [-f font] [-g geometry]" | ||
2695 | " [-n name] [-o file]\n" | ||
2696 | " [-T title] [-t title] [-w windowid]" | ||
2697 | " [[-e] command [args ...]]\n" | ||
2698 | " %s [-aiv] [-c class] [-f font] [-g geometry]" | ||
2699 | " [-n name] [-o file]\n" | ||
2700 | " [-T title] [-t title] [-w windowid] -l line" | ||
2701 | " [stty_args ...]\n", argv0, argv0); | ||
2702 | } | ||