summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-10-09 18:10:57 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-10-09 18:10:57 +0200
commit5c3a76fc80b8ecf296b58fe775d9f68a4c80d1fa (patch)
tree0715b53e91f85369158e6c4fe55be76ebe33fe50 /main.c
parentbfc79cef2cb743fedba3e93fd005d25b0a4923dc (diff)
downloadttdaw-5c3a76fc80b8ecf296b58fe775d9f68a4c80d1fa.tar.gz
Clean up of code, removing some unnessesary code
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;
}