util: drop "long" from usage helpers

Now that all utils have converted to the new usage framework, we can
rename to just plain "usage()" and avoid naming conflicts.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Mike Frysinger 2013-05-24 18:04:43 +10:00 committed by David Gibson
parent 03449b84c8
commit b9e80656f2
7 changed files with 24 additions and 24 deletions

6
dtc.c
View file

@ -186,14 +186,14 @@ int main(int argc, char *argv[])
break;
case 'h':
long_usage(NULL);
usage(NULL);
default:
long_usage("unknown option");
usage("unknown option");
}
}
if (argc > (optind+1))
long_usage("missing files");
usage("missing files");
else if (argc < (optind+1))
arg = "-";
else