summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/main.c b/main.c
index 4f4dc97..ac07f54 100644
--- a/main.c
+++ b/main.c
@@ -50,8 +50,13 @@ static int suffix_nops_g = 0;
__attribute__((noreturn))
static void usage(const char *arg0)
{
- fprintf(stderr, "usage: %s --override addr --with addr --stackidx idx\n", arg0);
- fprintf(stderr, " %s --override addr --with addr --stackidx idx --addrsize size\n", arg0);
+ (void)arg0;
+
+ fputs("usage:\n\n", stderr);
+ fputs(
+ "ufs_gen "
+ "[--prefix pfx] [--suffix sfx] [--sfxnops n]\n"
+ " --override addr --with addr --stackidx idx\n", stderr);
exit(EX_USAGE);
}