1
0
forked from bonsai/harakit

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

@@ -45,8 +45,10 @@ static struct {
{ NULL, NULL } /* marks end */
};
int usage(char *s){
fprintf(stderr, "Usage: %s type string...\n", s);
static int
usage(char *argv0){
(void)fprintf(stderr, "Usage: %s type string...\n", argv0);
return EX_USAGE;
}