parser.add_argument( "-r", "--replace", action="append", default=[], help="Replacements as key1=val1,key2=val2 (can specify multiple times)" )
parser.add_argument( "-o", "--output-json", help="Save detailed results to JSON file" ) parser
# Test 3: Save results ./mpall.py -c "sleep s && echo done" -r s=1 -r s=2 -w 2 -o test.json </code></pre> <p>This is a complete, production-ready feature with error handling, logging, and flexible input methods.</p> help="Replacements as key1=val1