From 7ed8d60f38e13259f8907c86a3dbbb66ef72bcce Mon Sep 17 00:00:00 2001 From: Ian Lumsden Date: Sun, 26 Nov 2023 13:07:33 -0800 Subject: [PATCH] Adds argv printing --- src/modules/dyad.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/dyad.c b/src/modules/dyad.c index e1166feb..92612212 100644 --- a/src/modules/dyad.c +++ b/src/modules/dyad.c @@ -270,12 +270,17 @@ DYAD_DLL_EXPORTED int mod_main (flux_t *h, int argc, char **argv) const char *optargp = NULL; int optindex = 0; optparse_t *opts = NULL; + int i = 0; if (!h) { fprintf (stderr, "Failed to get flux handle\n"); goto mod_done; } + for (i = 0; i < argc; i++) { + FLUX_LOG_INFO (h, "argv[%d] = %s", i, argv[i]); + } + FLUX_LOG_INFO (h, "Getting context from AUX"); ctx = getctx (h);