Skip to content

[Bug]: Searching for --- leads to CLI error #3028

@thePanz

Description

@thePanz

What did you expect to happen?

atuin search --limit=1 '--'
2025-12-18 16:21:36     atuin search --limit=1 '--'     0s

What happened?

atuin search --limit=1 '---'
error: unexpected argument '---' found

  tip: a similar argument exists: '--cmd-only'

Usage: atuin search --limit <LIMIT> --cmd-only [QUERY]...

For more information, try '--help'.

Atuin doctor output

{
  "atuin": {
    "version": "18.10.0",
    "commit": "NO_GIT",
    "sync": null,
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "bash",
    "default": "bash",
    "plugins": [
      "atuin",
      "bash-preexec"
    ],
    "preexec": "bash-preexec"
  },
  "system": {
    "os": "Arch Linux",
    "arch": "x86_64",
    "version": "unknown",
    "disks": [
      {
        "name": "/dev/nvme0n1p2",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p3",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p1",
        "filesystem": "vfat"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions