Skip to content

[Bug] rustchain-miner.py --dry-run --verbose flag not recognized #3981

@jaxint

Description

@jaxint

Bug Report: rustchain-miner.py --dry-run --verbose flag not recognized

Severity: Low
Component: CLI argument parsing
Environment: Linux, Python 3.x

Summary

The rustchain-miner.py script does not recognize the --verbose flag when run in dry-run mode. The flag is not defined in the argument parser.

Steps to Reproduce

python3 rustchain_linux_miner.py --dry-run --verbose

Expected Behavior

The --verbose flag should enable verbose output showing API endpoint being called, request headers/payload, and response details.

Actual Behavior

error: unrecognized arguments: --verbose

Suggested Fix

Add --verbose to the argument parser:

parser.add_argument('--verbose', action='store_true', help='Enable verbose output')

Related

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