Skip to content

[Bug] Spurious error message displayed when running --help #1607

@kei-g

Description

@kei-g

Git commit

$ git rev-parse HEAD
1f9ee88

Operating System & Version

Ubuntu 24.04

GGML backends

CUDA

Command-line arguments used

sd-cli --help

Steps to reproduce

$ sd-cli --help

and also,

$ sd-server --help

What you expected to happen

Running --help should display the help text and exit cleanly without printing any error messages.

What actually happened

Both sd-cli and sd-server always print an error message.

Logs / error messages / stack trace

[ERROR] common.cpp:302  - error: invalid parameter for argument: --help

Additional context / environment details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions