ref: 967204e8e367b6cf9dbb41513e57162703ea4aee
parent: 0e1b2b1c2c5854d690112f4f3de3d92d8bfb9d1f
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Sep 13 12:54:00 EDT 2020
audio/aacdec: fix usage
--- a/frontend/main.c
+++ b/frontend/main.c
@@ -187,14 +187,17 @@
static void
usage(void)
{
- print("usage: %s [-i] [options]\n", argv0);
- return;
+ print("usage: %s\n", argv0);
+ exits("usage");
}
void
main(int argc, char **argv)
{
- USED(argc); USED(argv);
+ ARGBEGIN{
+ default:
+ usage();
+ }ARGEND
Binit(&stdin, 0, OREAD);
Binit(&stdout, 1, OWRITE);