From 60a4a73fcd7babd4819853542a5566293a097ed4 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 28 Mar 2013 16:46:07 -0700 Subject: cbfstool: fix --machine The help text says --machine, but the code actually checked for --arch. Fix it! Change-Id: Ib9bbf758b82ef070550348e897419513495f154b Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/3009 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- util/cbfstool/cbfstool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/cbfstool') diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c index 1a3d25e44a..bd34960555 100644 --- a/util/cbfstool/cbfstool.c +++ b/util/cbfstool/cbfstool.c @@ -274,7 +274,7 @@ static int cbfs_create(void) // TODO Remove arch or pack into param. if (arch == CBFS_ARCHITECTURE_UNKNOWN) { - ERROR("You need to specify -m/--machine arch\n"); + ERROR("You need to specify -m/--machine arch.\n"); return 1; } @@ -474,7 +474,7 @@ static struct option long_options[] = { {"page-size", required_argument, 0, 'P' }, {"offset", required_argument, 0, 'o' }, {"file", required_argument, 0, 'f' }, - {"arch", required_argument, 0, 'm' }, + {"machine", required_argument, 0, 'm' }, {"empty-fits", required_argument, 0, 'x' }, {"verbose", no_argument, 0, 'v' }, {"help", no_argument, 0, 'h' }, -- cgit v1.2.3