hirc

IRC client
Log | Files | Refs

commit 1b3bba71f5a04b17a238ed1a31569e8b12ecf5ee
parent 88ae256c4baac688047afc9abd4efa90e71a38b2
Author: hhvn <dev@hhvn.uk>
Date:   Wed, 20 Apr 2022 22:13:30 +0100

Fix usage

Diffstat:
Msrc/main.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -236,8 +236,8 @@ main(int argc, char *argv[]) { char *tmp; if (argc > 2) { - fprintf(stderr, "usage: %s [configfile]", dirname(argv[0])); - fprintf(stderr, " %s -d", dirname(argv[0])); + fprintf(stderr, "usage: %s [configfile]\n", basename(argv[0])); + fprintf(stderr, " %s -d\n", basename(argv[0])); return EXIT_FAILURE; }