dj(1), intcmp(1), mm(1), npc(1), scrut(1), str(1): make usage function consistent

This commit is contained in:
dtb
2024-07-27 18:32:04 -06:00
parent 429d064209
commit 5d48114083
6 changed files with 34 additions and 22 deletions

View File

@@ -146,11 +146,13 @@ parse(char *s) {
}
static int
usage(char *s) {
fprintf(
stderr, "Usage: %s [-Hn] [-a byte] [-c count]\n"
usage(char *argv0) {
(void)fprintf(
stderr,
"Usage: %s [-Hn] [-a byte] [-c count]\n"
"\t[-i file] [-b block_size] [-s offset]\n"
"\t[-o file] [-B block_size] [-S offset]\n", s
"\t[-o file] [-B block_size] [-S offset]\n",
argv0
);
return EX_USAGE;