From 1baac5aee9c3f2741eb4d87b3de32cab0df39366 Mon Sep 17 00:00:00 2001 From: Valerie Wolfe Date: Mon, 19 Aug 2024 12:39:19 -0400 Subject: [PATCH] man: added man page for windows terminal --- man/wt.1 | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 man/wt.1 diff --git a/man/wt.1 b/man/wt.1 new file mode 100644 index 0000000..048f812 --- /dev/null +++ b/man/wt.1 @@ -0,0 +1,47 @@ +.Dd $Mdocdate$ +.Dt WT 1 +.Os MICROSOFT WINDOWS +.Sh NAME +.Nm wt +launch Windows Terminal from WSL. +.Sh SYNOPSIS +.Nm +.Op Fl hv +.Op Fl f|F|M +.Op Fl -pos Ar x,y +.Op Fl -profile Ar name +.Op Fl -size Ar c,r +.Op Ar commandline +.Sh DESCRIPTION +.Nm +is a Linux wrapper for Windows Terminal. Its options are as follows: +.Bl -tag -width Ds +.It Fl h , Fl -help +Opens a dialog displaying help information. +.It Fl e +Launches the program with administrator privileges. +.It Fl f , Fl -focus +Launches the program with no title or tab bar. +.It Fl F , Fl -fullscreen +Launches the program in fullscreen mode. Conflicts with +.Fl -maximized . +.It Fl M , Fl -maximized +Launches the program in a maximized window. Conflicts with +.Fl -fullscreen . +.It Fl -pos Ar x,y +Launches the program at the given screen position. +.It Fl -profile Ar name +Launches the profile with the given +.Ar name +. +.It Fl -size Ar c,r +Launches the program with the given size in columns and rows respectively. +.It Fl v , Fl -version +Opens a dialog displaying version information. +.It Ar commandline +Attempt to run the given Windows command as the command line. +.El +.Sh BUGS +The official documentations (online and via +.Fl h ) +contain a variety of errors, including deprecated/unsupported flags, and subcommands, which do not work.