summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
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;
}