Skip to content

ruvector benchmark/optimize: -d short flag not parsed, requires --databaseΒ #1523

@ronmikailov

Description

@ronmikailov

Bug

ruflo ruvector benchmark and ruflo ruvector optimize do not accept the -d short flag for the database name. They require the long --database flag instead.

Other ruvector subcommands (e.g., init, status, migrate) correctly accept -d.

Reproduction

# Fails β€” reports "Database name is required"
PGPASSWORD=claude-flow-test ruflo ruvector benchmark \
  -h localhost -p 5432 -d claude_flow -u claude

# Works β€” connects successfully
PGPASSWORD=claude-flow-test ruflo ruvector benchmark \
  --database claude_flow --host localhost --port 5432 --user claude

# Same for optimize:
PGPASSWORD=claude-flow-test ruflo ruvector optimize \
  -d claude_flow -h localhost -p 5432 -u claude
# [ERROR] Database name is required.

Expected

-d should be accepted as a short alias for --database in all ruvector subcommands, consistently.

Environment

  • ruflo CLI (npm, latest)
  • Node v20.19.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions