Skip to content

Commit

Permalink
feat(cli): add blank line between usage and error
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed Nov 18, 2024
1 parent df884ed commit 641ed8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ int main(
usage(stderr);
fprintf(
stderr,
HICOLOR_CLI_ERROR "unknown command \"%s\"\n",
"\n" HICOLOR_CLI_ERROR "unknown command \"%s\"\n",
argv[i]
);
return 1;
Expand Down Expand Up @@ -693,7 +693,7 @@ int main(
usage(stderr);
fprintf(
stderr,
HICOLOR_CLI_ERROR "unknown option \"%s\"\n",
"\n" HICOLOR_CLI_ERROR "unknown option \"%s\"\n",
argv[i]
);
return 1;
Expand All @@ -709,7 +709,7 @@ int main(
usage(stderr);
fprintf(
stderr,
HICOLOR_CLI_ERROR "no source image given to command \"%s\"\n",
"\n" HICOLOR_CLI_ERROR "no source image given to command \"%s\"\n",
command_name
);
return 1;
Expand All @@ -719,7 +719,7 @@ int main(
usage(stderr);
fprintf(
stderr,
HICOLOR_CLI_ERROR "too many arguments to command \"%s\"\n",
"\n" HICOLOR_CLI_ERROR "too many arguments to command \"%s\"\n",
command_name
);
return 1;
Expand Down

0 comments on commit 641ed8b

Please sign in to comment.