[Chapel Merge] Argument Parser auto-generate help

Branch: refs/heads/main
Revision: 2585d81
Author: arezaii
Link: Argument Parser auto-generate help by arezaii · Pull Request #18688 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18688 from arezaii/argparse-generate-help

Argument Parser auto-generate help

This PR adds automatic help and usage messages generated from the
arguments defined in an argumentParser.

The scope of work is described in cray/chapel-private/issues/2591 with
input and discussion in #18646

Reviewed by @mppf, thanks!

Signed-off-by: Ahmad Rezaii ahmad.rezaii@hpe.com

Modified Files:
M modules/packages/ArgumentParser.chpl

M test/library/packages/ArgumentParser/ArgumentParserTests.chpl
M test/library/packages/ArgumentParser/ArgumentParserTests.good

Compare: https://github.com/chapel-lang/chapel/compare/ae9ebcd28ddd...2585d813beb3