]> git.ipfire.org Git - thirdparty/systemd.git/commit - NEWS
core: rework the confirmation spawn prompt
authorFranck Bui <fbui@suse.com>
Mon, 7 Nov 2016 16:14:59 +0000 (17:14 +0100)
committerFranck Bui <fbui@suse.com>
Thu, 17 Nov 2016 17:16:50 +0000 (18:16 +0100)
commitd172b175f6d43d68929975e3baa3837da677bc68
treee15fea1347829f66f7f6fdd75eef6a2e7c15f5d0
parent2bcd3c26fe2a21cf1541a2850350194b3cdf5e83
core: rework the confirmation spawn prompt

Previously it was "[Yes, Fail, Skip]" which is pretty misleading because it
suggests that the whole word needs to be entered instead of a single char.

Also this won't fit well when we'll extend the number of choices.

This patch addresses this by changing the choice hint with "[y, f, s – h for help]"
so it's now clear that a single letter has to be entered.

It also introduces a new choice 'h' which describes all possible choices since
a single letter can be not descriptive enough for new users.

It also allow to stick with the same hint string regardless of how
many choices we will support.
NEWS
src/core/execute.c