github / github/copilot-cli

/restart does not work with --name

Open
#3,332 0 comments 1 reaction 0 assignees View on GitHub
area:sessions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

GitHub Copilot CLI 1.0.48.

Repo steps:

1. `copilot --name foo`
2. `/restart`

Expected: restart

Actual: exit, fail to start

```
C:\Users\zhaoyangli> copilot --name foo

╭─╮╭─╮ Changes +0 -0
╰─╯╰─╯ AI Units 0 (16s)
█ ▘▝ █ Resume copilot --resume="foo"
▔▔▔▔

error: option '-n, --name ' cannot be used with option '--resume[=value]'
C:\Users\zhaoyangli>
```

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.