Artem: tweak the warning message
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
because it is up to udev rules to name the devices. So we are removing
the -m option. For now, we just have a warning, but the option will be
removed in release 1.4.6.
+
+---------------------------
+3. flash_info utility
+
+This is duplicating behavior with the mtdinfo utility. Now the util
+warns when people use it, but it'll be removed in release 1.4.6.
+
---------------------------
{
int fd, i, regcount;
+ warnmsg("this utility is deprecated in favor of `mtdinfo` and will be removed in mtd-utils-1.4.6");
+
if (argc < 2)
usage(1);
if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help"))