1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-04-19 01:00:29 +01:00

option -info for listing WSL information

This commit is contained in:
mintty 2017-11-07 17:36:39 +01:00
parent 9fd7a1135b
commit 149b1a6f1a

View File

@ -3,7 +3,17 @@
contextmenu=false contextmenu=false
remove=false remove=false
alldistros=true alldistros=true
config=true
case "`basename $0`" in
wsl*)
config=false;;
esac
case "$1" in case "$1" in
-info)
config=false
shift;;
-shortcuts-remove) -shortcuts-remove)
remove=true remove=true
shift;; shift;;
@ -154,7 +164,7 @@ do
target='%LOCALAPPDATA%\wsltty\bin\mintty.exe' target='%LOCALAPPDATA%\wsltty\bin\mintty.exe'
bridgeargs=" " bridgeargs=" "
if $ok if $ok && $config
then then
export target minttyargs bridgeargs icon export target minttyargs bridgeargs icon