diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-08-17 18:48:33 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-08-17 18:50:33 +0530 |
commit | e4550b63118765c0affd653234749a92fc51961f (patch) | |
tree | bbf3990cfcaa78dd97eb8d66d539b4e9caa0f308 /src/evanix.c | |
parent | 37d813bf6be0570c6feab070002451bd6042b0d7 (diff) |
evanix: --max-build -> --max-builds
Diffstat (limited to 'src/evanix.c')
-rw-r--r-- | src/evanix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/evanix.c b/src/evanix.c index d46a366..2cf8469 100644 --- a/src/evanix.c +++ b/src/evanix.c @@ -19,7 +19,7 @@ static const char usage[] = " -d, --dry-run Show what derivations would be " "built.\n" " -s, --system System to build for.\n" - " -m, --max-build Max number of builds.\n" + " -m, --max-builds Max number of builds.\n" " -b, --break-evanix Enable experimental features.\n" " -r, --solver-report Print solver report.\n" " -p, --pipelined <bool> Use evanix build pipeline.\n" @@ -33,7 +33,7 @@ struct evanix_opts_t evanix_opts = { .isflake = false, .ispipelined = true, .isdryrun = false, - .max_build = 0, + .max_builds = 0, .system = NULL, .solver_report = false, .check_cache_status = true, @@ -139,8 +139,8 @@ int opts_read(struct evanix_opts_t *opts, char **expr, int argc, char *argv[]) {"solver", required_argument, NULL, 'k'}, {"system", required_argument, NULL, 's'}, {"solver-report", no_argument, NULL, 'r'}, - {"max-build", required_argument, NULL, 'm'}, {"pipelined", required_argument, NULL, 'p'}, + {"max-builds", required_argument, NULL, 'm'}, {"close-unused-fd", required_argument, NULL, 'c'}, {"check-cache-status", required_argument, NULL, 'l'}, {NULL, 0, NULL, 0}, @@ -197,7 +197,7 @@ int opts_read(struct evanix_opts_t *opts, char **expr, int argc, char *argv[]) return -EINVAL; } - opts->max_build = ret; + opts->max_builds = ret; break; case 'p': ret = atob(optarg); |