]> Repositorios git - classgraph.git/commit
Give classgraph-plugin-flag.sh a real --help
authorJavier Sagredo <[email protected]>
Thu, 18 Jun 2026 22:48:34 +0000 (00:48 +0200)
committerJavier Sagredo <[email protected]>
Thu, 18 Jun 2026 22:48:34 +0000 (00:48 +0200)
commit4a2748415b892e48d31d032414aba67990d649bf
tree51f8458d4604be14fa92e84c700fe5d541731de9
parentdca47348e1b8204fc2a6545f21024cff0e6b54b6
Give classgraph-plugin-flag.sh a real --help

The previous -h/--help ran a sed that quit at the first lone '#' (line 2),
so it printed nothing. Replace it with a usage() that documents every option
(--dir, --cabal, --package, -h/--help), the CLASSGRAPH_SO env var, the
stdout/stderr split, .so discovery + re-run caveat, and examples. Unknown
args now report to stderr with a '--help' hint and exit 2.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
classgraph-plugin-flag.sh