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
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.pyscript does not recognize the--verboseflag when run in dry-run mode. The flag is not defined in the argument parser.Steps to Reproduce
Expected Behavior
The
--verboseflag should enable verbose output showing API endpoint being called, request headers/payload, and response details.Actual Behavior
Suggested Fix
Add
--verboseto the argument parser:Related