Change notices about libreadline presence in urclock.c

This commit is contained in:
Stefan Rueger 2022-11-25 13:58:11 +00:00
parent afa57ace84
commit 7269370bf6
No known key found for this signature in database
GPG Key ID: B0B4F1FD86B1EC55
1 changed files with 3 additions and 2 deletions

View File

@ -2496,8 +2496,9 @@ void urclock_initpgm(PROGRAMMER *pgm) {
disable_trailing_ff_removal();
#if defined(HAVE_LIBREADLINE)
pmsg_notice2("libreadline is used; avrdude -t -c urclock should work");
pmsg_notice2("libreadline is used; avrdude -t -c urclock should work interactively\n");
#else
pmsg_warning("compiled without readline library, cannot use avrdude -t -c urclock");
pmsg_warning("compiled without readline library, cannot use avrdude -t -c urclock interactively\n");
imsg_warning("but it is still possible to pipe: echo \"d fl 0 32; quit\" | tr \\; \\\\n | avrdude -t -curclock\n");
#endif
}