I added a ## Troubleshooting section to README.md, just before License. Nothing else changed. I took the behaviour from src/lib.rs and src/main.rs and did not run the program.
--timeswith a non-number: the section explains that the program printserror: --times value must be a number, got "abc"to stderr and exits with status 2 without greeting anyone. It tells the reader to pass a plain number such as--times 3. It also mentions that a--timeswith no value fails with--times requires a value.- Empty name: an empty or whitespace-only name such as
""is greeted asworld. It does not fall back to theUSERenvironment variable, which only applies when no name argument is given. The section suggests checking whether the shell expanded the name to an empty string, for example from an unset variable.
The README says --times takes a whole number of zero or more, and that -1 and 2.5 are rejected. That is inferred from the usize parse and not tested. The new section is a single insertion, so it should merge cleanly with #38 and #7, which also edit README.md.