Skip to content

/restart does not work with --name #3332

Closed
Closed

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

Activity

  1. added theissue type on May 15, 2026
  2. added
    area:sessionsSession management, resume, history, session picker, and session state
    on May 15, 2026
  3. copilot-cli-bot commented on Oct 8, 2026

    @copilot-cli-bot

    This appears to be resolved as of GitHub Copilot CLI v1.0.93. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions