aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-07-19 20:57:41 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-07-19 20:57:41 +0200
commite63f792de8d35c847ce2e427e404884e30b79d2e (patch)
treec14f9ef8039e5a4744aa0aafc662d29db392fa1f /bin
parent86d266fa98a2d893a431f5dbd970176642d24bd0 (diff)
downloadsynthpod-e63f792de8d35c847ce2e427e404884e30b79d2e.tar.xz
fix command line parsing.
Diffstat (limited to 'bin')
-rw-r--r--bin/synthpod_jack.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/synthpod_jack.c b/bin/synthpod_jack.c
index 1728e08a..b45dc48d 100644
--- a/bin/synthpod_jack.c
+++ b/bin/synthpod_jack.c
@@ -1277,9 +1277,10 @@ main(int argc, char **argv)
" %s [OPTIONS] [BUNDLE_PATH]\n"
"\n"
"OPTIONS\n"
- " [-v] print version and license information\n"
- " [-h] print usage information\n"
- " [-s] connect to named JACK daemon\n\n"
+ " [-v] print version and license information\n"
+ " [-h] print usage information\n"
+ " [-n] server-name connect to named JACK daemon\n"
+ " [-s] sequence-size minimum sequence size\n\n"
, argv[0]);
return 0;
case 'n':
@@ -1392,8 +1393,7 @@ main(int argc, char **argv)
#endif
// NSM init
- handle.nsm = synthpod_nsm_new(argv[0], argc > 1 ? argv[argc-1] : NULL,
- &nsm_driver, &handle); //TODO check
+ handle.nsm = synthpod_nsm_new(argv[0], argv[optind], &nsm_driver, &handle); //TODO check
// init semaphores
eina_semaphore_new(&handle.worker_sem, 0);