/restart does not work with --name
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 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_
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Reproduce the issue with `copilot --name foo` followed by `/restart`, then trace the `/restart` entry point and how `--name` and `--resume` arguments are assembled. Done means restarting a named session no longer exits with the conflicting-option error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- Calme
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 68/100