mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
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:
parent
03449b84c8
commit
b9e80656f2
7 changed files with 24 additions and 24 deletions
6
dtc.c
6
dtc.c
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue