aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Bowes <keithbowes@users.noreply.github.com>2019-06-16 14:38:08 -0400
committerKeith Bowes <keithbowes@users.noreply.github.com>2019-06-16 14:38:59 -0400
commitac3b899f1d2959776461647268611aaac74853f6 (patch)
tree6914ea11a4e3393b66c65fba07f23a185e5f43a4 /src
parentc5c548536c62f5b7281f43ab896c8daf927fcaee (diff)
downloadwterm-ac3b899f1d2959776461647268611aaac74853f6.zip
wterm-ac3b899f1d2959776461647268611aaac74853f6.tar.gz
wterm-ac3b899f1d2959776461647268611aaac74853f6.tar.bz2
Removed unused options
Diffstat (limited to 'src')
-rw-r--r--src/st.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/st.c b/src/st.c
index ea0f965..4db4c0c 100644
--- a/src/st.c
+++ b/src/st.c
@@ -588,7 +588,6 @@ static int iofd = 1;
static char **opt_cmd = NULL;
static char *opt_io = NULL;
static char *opt_title = NULL;
-static char *opt_embed = NULL;
static char *opt_class = NULL;
static char *opt_font = NULL;
static char *opt_line = NULL;
@@ -4007,11 +4006,11 @@ void run(void) {
void usage(void) {
die("%s " VERSION " (c) 2010-2015 st engineers\n"
- "usage: st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]\n"
- " [-i] [-t title] [-T title] [-w windowid] [-e command ...]"
+ "usage: st [-a] [-v] [-c class] [-f font] [-o file]\n"
+ " [-t title] [-T title] [-e command ...]"
" [command ...]\n"
- " st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]\n"
- " [-i] [-t title] [-T title] [-w windowid] [-l line]"
+ " st [-a] [-v] [-c class] [-f font] [-o file]\n"
+ " [-t title] [-T title] [-l line]"
" [stty_args ...]\n",
argv0);
}
@@ -4041,9 +4040,6 @@ int main(int argc, char *argv[]) {
case 'T':
opt_title = EARGF(usage());
break;
- case 'w':
- opt_embed = EARGF(usage());
- break;
case 'v':
default:
usage();