Skip to content

print cli parse error message to let user know what is missing #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2025

Conversation

maxandersen
Copy link
Contributor

to help users figure out what required options print the actual parse message so if you run and -d is missing you get:

Missing required option: [-d directory with class files to check for forbidden api usage; this directory is also added to classpath, -V print product version and exit, -h print this help]

related to #257

@uschindler uschindler merged commit 7c32e88 into policeman-tools:main Mar 31, 2025
1 check failed
uschindler added a commit that referenced this pull request Mar 31, 2025
@uschindler uschindler self-assigned this Mar 31, 2025
@uschindler uschindler added this to the 3.9 milestone Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants