]> www.infradead.org Git - mtd-utils.git/commit
mtd-utils: new prompt() helper for talking to the user
authorMike Frysinger <vapier@gentoo.org>
Wed, 8 May 2013 16:27:25 +0000 (12:27 -0400)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 1 Jul 2013 05:55:55 +0000 (08:55 +0300)
commitdbe0fd17f2323f108715db0bd0f734e9563e40d8
tree0e2342e773045ee2e7f937c1eec5250dbc0810f1
parent8b4786830174e06bc27810f15c76f72cb3e951d9
mtd-utils: new prompt() helper for talking to the user

We've got a few tools that prompt the user for "yes/no" questions.
Add a common helper to simplify the various implementations.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
flash_otp_lock.c
ftl_format.c
include/common.h
ubi-utils/ubiformat.c