Improve error messages for target validation#1473
Improve error messages for target validation#1473DELTA-45-G wants to merge 2 commits intoOWASP:masterfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Summary by CodeRabbit
WalkthroughEdited three English localization strings in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
DELTA-45-G
left a comment
There was a problem hiding this comment.
Fixed the target flag from -t to -i in the localization file as per the feedback. Verified the output locally.
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
Proposed change
This PR improves localization error messages in
nettacker/locale/en.yamlfor better clarity and usability.Changes include:
error_targetmessage to clearly instruct users to use-tor--targetserror_target_filemessage to provide a clearer file-related error descriptionThese changes make CLI error messages more user-friendly and easier to understand for end users.
Type of change
Checklist
make pre-commitand confirm it didn't generate any warnings/changesmake test, I confirm all tests passed locallydocs/folderThanks for contributing to OWASP Nettacker!
