Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line arguments: Mixing options and commands doesn't work #8497

Closed
Sergej-Popov opened this issue Dec 4, 2020 · 3 comments
Closed
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@Sergej-Popov
Copy link

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.19041.0 Microsoft Windows NT 10.0.19041.0

Windows Terminal version (if applicable):
1.4.3243.0

As per doc, the cli options are wt [options] [command ; ]
But it doesn't work when adding both options and command,
Examples below attempting to open maximized window with single tab and with split panes

Steps to reproduce 1

From PowerShell

wt --maximized -d C:\ `; split-pane -d C:\dev

or from CMD

wt --maximized -d C:\ ; split-pane -d C:\dev

Expected behavior

Maximized terminal with 2 panes on a single tab.

Actual behavior

image

Steps to reproduce 2

From PowerShell

 wt -d C:\ `; split-pane -d C:\dev `; --maximized

or from CMD

 wt -d C:\ ; split-pane -d C:\dev; --maximized

Expected behavior

Maximized terminal with 2 panes on a single tab.

Actual behavior

This times it opens and is maximized but creates an extra tab with default pane
image

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Dec 4, 2020
@DHowett
Copy link
Member

DHowett commented Dec 4, 2020

@Don-Vito is awesome and fixed this in #8315!

@DHowett DHowett closed this as completed Dec 4, 2020
@DHowett
Copy link
Member

DHowett commented Dec 4, 2020

/dup #7318

@ghost
Copy link

ghost commented Dec 4, 2020

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants