Skip to content

/restart does not work with --name #3332

@lizy14

Description

@lizy14

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 <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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sessionsSession management, resume, history, session picker, and session state

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions