Skip to content

Comments

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

Merged
uschindler merged 1 commit intopoliceman-tools:mainfrom
maxandersen:printparseerror
Mar 31, 2025
Merged

print cli parse error message to let user know what is missing#258
uschindler merged 1 commit intopoliceman-tools:mainfrom
maxandersen:printparseerror

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