From 5c3a76fc80b8ecf296b58fe775d9f68a4c80d1fa Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 9 Oct 2024 18:10:57 +0200 Subject: Clean up of code, removing some unnessesary code --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 4eb4cf7..1df6ec3 100644 --- a/main.c +++ b/main.c @@ -21,7 +21,7 @@ void help(const char *argv0) { } int main(int argc, char *argv[]) { - const char short_options[] = "lp:s:hv:"; + const char short_options[] = "lp:s:hv"; const struct option long_options[] = { { "list", 0, NULL, 'l' }, { "port", 1, NULL, 'p' }, @@ -63,8 +63,8 @@ int main(int argc, char *argv[]) { } if (port_name == NULL || soundfont_file == NULL) { - fprintf(stdout, "Missing options. Check help.\n\n"); - fprintf(stdout, "Port and soundfile are required fields.\n\n"); + fprintf(stdout, "Missing options. Check help.\n"); + fprintf(stdout, "Port and soundfile are required fields.\n"); return 1; } -- cgit v1.2.3