aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/st.c12
-rw-r--r--wterm.123
2 files changed, 4 insertions, 31 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();
diff --git a/wterm.1 b/wterm.1
index 82e228a..b309b24 100644
--- a/wterm.1
+++ b/wterm.1
@@ -8,9 +8,6 @@ st \- simple terminal
.IR class ]
.RB [ \-f
.IR font ]
-.RB [ \-g
-.IR geometry ]
-.RB [ \-i ]
.RB [ \-o
.IR file ]
.RB [ \-t
@@ -19,8 +16,6 @@ st \- simple terminal
.IR title ]
.RB [ \-l
.IR line ]
-.RB [ \-w
-.IR windowid ]
.RB [ \-v ]
.RB [ \-e
.IR command ...]
@@ -32,9 +27,6 @@ st \- simple terminal
.IR class ]
.RB [ \-f
.IR font ]
-.RB [ \-g
-.IR geometry ]
-.RB [ \-i ]
.RB [ \-o
.IR file ]
.RB [ \-t
@@ -43,8 +35,6 @@ st \- simple terminal
.IR title ]
.RB [ \-l
.IR line ]
-.RB [ \-w
-.IR windowid ]
.RB [ \-v ]
.RB [ \-l
.IR line ]
@@ -65,15 +55,6 @@ defines the
.I font
to use when st is run.
.TP
-.BI \-g " geometry"
-defines the X11 geometry string.
-The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>]. See
-.BR XParseGeometry (3)
-for further details.
-.TP
-.B \-i
-will fixate the position given with the -g option.
-.TP
.BI \-o " iofile"
writes all the I/O to
.I iofile.
@@ -86,10 +67,6 @@ defines the window title (default 'st').
.BI \-T " title"
defines the window title (default 'st').
.TP
-.BI \-w " windowid"
-embeds st within the window identified by
-.I windowid
-.TP
.BI \-l " line"
use a tty line instead of a pseudo terminal.
When this flag is used