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

Typo in --exit-after option error message #135

Open
orpheeantoniadis opened this issue Feb 7, 2023 · 1 comment
Open

Typo in --exit-after option error message #135

orpheeantoniadis opened this issue Feb 7, 2023 · 1 comment

Comments

@orpheeantoniadis
Copy link

Hi ! I noticed a little typo in the --exit-after error message (Inavild instead of Invalid) :

picocom/picocom.c

Line 1901 in 1acf1dd

fprintf(stderr, "Inavild --exit-after: %s\n", optarg);

In addition to that it would be great to show the max possible value of this option which is 2^31 - 1 (long int). In the man page or in the error message.

Thank you for your work and have a great day !

@wsakernel
Copy link

Thank you for the report. It is already fixed in my codebase: wsakernel@048f5b6

I will think about the max value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants