tinyhumansai/openhuman · error

unknown voice arg: {other}

Error message

unknown voice arg: {other}

What it means

Voice CLI argument loop hit a token starting with '-' that matches none of the known flags (--hotkey, --mode, --skip-cleanup, -v, -h); a typo'd or unsupported flag. Aborts before startup.

Source

Thrown at src/openhuman/voice/cli.rs:60

                    args.get(i + 1)
                        .ok_or_else(|| anyhow!("missing value for --mode"))?
                        .clone(),
                );
                i += 2;
            }
            "--skip-cleanup" => {
                skip_cleanup = true;
                i += 1;
            }
            "-v" | "--verbose" => {
                verbose = true;
                i += 1;
            }
            "-h" | "--help" => {
                print_help();
                return Ok(());
            }
            other => return Err(anyhow!("unknown voice arg: {other}")),
        }
    }

    log::debug!(
        "[voice-cli] starting standalone server hotkey={:?} mode={:?} skip_cleanup={} verbose={}",
        hotkey,
        mode,
        skip_cleanup,
        verbose
    );

    init_for_cli_run(verbose, CliLogDefault::Global);

    let rt = tokio::runtime::Builder::new_multi_thread()
        .enable_all()
        .build()?;

    rt.block_on(async {

View on GitHub (pinned to 7491200858)

Solutions

  1. Check flag spelling against `openhuman voice -h`
  2. Remove the unsupported flag
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/openhuman/voice/cli.rs:60 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/3cf320f37afab0cf. Report an issue: GitHub.