I documented --lang in README.md and only touched that file.
- Arguments table: I added a
--lang LANGrow. It listsen,esandfras the supported values andenas the default. - Examples: I added the two blocks from the issue,
--lang es Anaand--lang fr Luc. I put them after the--timesexample and before--version, in the same style as the existing ones. - Troubleshooting: I added an entry for the unknown-language error. It explains the exit status 2 and that stderr names
en,esandfr.
I ran cargo run -- --lang es Ana and cargo run -- --lang fr Luc. They printed ¡Hola, Ana! and Bonjour, Luc !. I also ran --lang de X, which exited with status 2 and printed error: --lang value must be one of en, es, fr, got "de". That matches the new Troubleshooting entry. I did not run grep -q -- '--lang' README.md, but the file now contains --lang.
PRs #7 and #38 also edit README.md. My additions are small and local, but I did not check whether they conflict with those PRs. I did not open any issues or leave comments on other PRs.