]> git.ipfire.org Git - thirdparty/systemd.git/commit
firstboot: add similar input suggestion
authorMichael Ferrari <nekkodroid404@gmail.com>
Sat, 14 Sep 2024 00:01:52 +0000 (02:01 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 19 Sep 2024 23:34:03 +0000 (08:34 +0900)
commit1e1ac5d53b0f126b6c4419506c7c42b67c07537f
tree91d598ab37c48a13912d0217fec360e81af5003c
parenteda6223942a172fa6777901cf5fbd47438f285ce
firstboot: add similar input suggestion

This uses the same logic as similar verb suggestion for command line
utilities. Try to be helpful when the user entered something invalid
instead of just showing the prompt again.
src/basic/strv.c
src/basic/strv.h
src/firstboot/firstboot.c