Skip to content
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

kiwix-serve must exit with an error after reporting an unrecognized option #566

Closed
veloman-yunkan opened this issue Jul 10, 2022 · 0 comments · Fixed by #567
Closed

kiwix-serve must exit with an error after reporting an unrecognized option #566

veloman-yunkan opened this issue Jul 10, 2022 · 0 comments · Fixed by #567

Comments

@veloman-yunkan
Copy link
Collaborator

kiwix-serve reports unrecognized options but otherwise ignores them. This can be a problem when an option is mistyped:

$ # The correct option name is --monitorLibrary with L capitalized
$ # Below command will NOT monitory the library 
$ kiwix-serve --port=8282 --library --monitorlibrary library.xml
.../kiwix-serve: unrecognized option '--monitorlibrary'
Loading the library from the following files:
	library.xml
The library was successfully loaded.
The Kiwix server is running and can be accessed in the local network at: http://localhost:8282/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants