Set (y/n) prompt to (y/N) to better reflect behaviour

This commit is contained in:
Imbus 2026-02-07 18:23:59 +01:00
parent 0a4626e7d1
commit a1556ca383

View file

@ -265,7 +265,7 @@ int main(int argc, char *argv[]) {
printf("Writing %s to %s\n", wjob.filename, wjob.dev_name); printf("Writing %s to %s\n", wjob.filename, wjob.dev_name);
if (ask_permission && !wjob.verify_only) { if (ask_permission && !wjob.verify_only) {
printf("Is this okay? (y/n): "); printf("Is this okay? (y/N): ");
fflush(stdout); fflush(stdout);
if ('y' != getchar()) { if ('y' != getchar()) {
printf("Aborting...\n"); printf("Aborting...\n");