diff options
author | midipix <writeonce@midipix.org> | 2024-02-13 03:31:45 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-13 03:31:45 +0000 |
commit | 94aeb31299e62cd9030f3f3df5b99babfc289b7d (patch) | |
tree | 9300be167b3f1de646d0f54868e4e628730dad62 /src/driver/slbt_split_argv.c | |
parent | c2dde6e143dbdb964e5e9ec397df1627dfea8df1 (diff) | |
download | slibtool-94aeb31299e62cd9030f3f3df5b99babfc289b7d.tar.bz2 slibtool-94aeb31299e62cd9030f3f3df5b99babfc289b7d.tar.xz |
driver: --info mode: make the <compiler> argument optional, not mandatory.
Diffstat (limited to 'src/driver/slbt_split_argv.c')
-rw-r--r-- | src/driver/slbt_split_argv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/slbt_split_argv.c b/src/driver/slbt_split_argv.c index 946468e..04800d8 100644 --- a/src/driver/slbt_split_argv.c +++ b/src/driver/slbt_split_argv.c @@ -163,7 +163,7 @@ int slbt_split_argv( } /* missing compiler? */ - if (!ctx.unitidx && !help && !version && !finish && !features && !dumpmachine && !altmode && !aropt) { + if (!ctx.unitidx && !help && !info && !version && !finish && !features && !dumpmachine && !altmode && !aropt) { if (flags & SLBT_DRIVER_VERBOSITY_ERRORS) slbt_dprintf(fderr, "%s: error: <compiler> is missing.\n", @@ -323,7 +323,7 @@ int slbt_split_argv( if (ctx.unitidx) { (void)0; - } else if (help || version || features || dumpmachine || altmode) { + } else if (help || version || features || info || dumpmachine || altmode) { for (i=0; i<argc; i++) sargv->targv[i] = argv[i]; |