From 420ee4252e8176a1c13db31b8b1a19b629b075a5 Mon Sep 17 00:00:00 2001 From: Edward Amsden Date: Tue, 5 Dec 2023 12:11:01 -0600 Subject: [PATCH] vere: add --serf-bin option to provide path to serf --- pkg/vere/main.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkg/vere/main.c b/pkg/vere/main.c index f83d656e98..53fd273d2e 100644 --- a/pkg/vere/main.c +++ b/pkg/vere/main.c @@ -269,11 +269,12 @@ _main_getopt(c3_i argc, c3_c** argv) { "scry-into", required_argument, NULL, 'Y' }, { "scry-format", required_argument, NULL, 'Z' }, // - { "urth-loom", required_argument, NULL, 5 }, - { "no-demand", no_argument, NULL, 6 }, - { "swap", no_argument, NULL, 7 }, - { "swap-to", required_argument, NULL, 8 }, - { "toss", required_argument, NULL, 9 }, + { "urth-loom", required_argument, NULL, 5 }, + { "no-demand", no_argument, NULL, 6 }, + { "swap", no_argument, NULL, 7 }, + { "swap-to", required_argument, NULL, 8 }, + { "toss", required_argument, NULL, 9 }, + { "serf-bin", required_argument, NULL, 10 }, // { NULL, 0, NULL, 0 }, }; @@ -309,6 +310,10 @@ _main_getopt(c3_i argc, c3_c** argv) } break; } + case 10: { // serf-bin + u3_Host.wrk_c = strdup(optarg); + break; + } // special args // case c3__loom: {