aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-02-06 09:32:22 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-02-06 09:32:22 -0500
commit172c17c0c964fe5bcbafbec8409824d06effb517 (patch)
tree2b07355a975cb0dd6939413883554f307d22d6c9
parent5e58d1a75edb3b057fe7291f3835c9ded076b0c8 (diff)
downloadstasis-172c17c0c964fe5bcbafbec8409824d06effb517.tar.gz
Change "regexp" argument from type bool, to string
-rw-r--r--src/artifactory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/artifactory.c b/src/artifactory.c
index 790d9ed..e9ec3af 100644
--- a/src/artifactory.c
+++ b/src/artifactory.c
@@ -324,7 +324,6 @@ int jfrog_cli_rt_upload(struct JFRT_Auth *auth, struct JFRT_Upload *ctx, char *s
jfrt_register_opt_str(ctx->build_name, "build-name", &arg_map);
jfrt_register_opt_str(ctx->exclusions, "exclusions", &arg_map);
jfrt_register_opt_str(ctx->module, "module", &arg_map);
- jfrt_register_opt_str(ctx->regexp, "regexp", &arg_map);
jfrt_register_opt_str(ctx->spec, "spec", &arg_map);
jfrt_register_opt_str(ctx->spec_vars, "spec-vars", &arg_map);
jfrt_register_opt_str(ctx->project, "project", &arg_map);
@@ -344,6 +343,7 @@ int jfrog_cli_rt_upload(struct JFRT_Auth *auth, struct JFRT_Upload *ctx, char *s
jfrt_register_opt_bool(ctx->recursive, "recursive", &arg_map);
jfrt_register_opt_bool(ctx->symlinks, "symlinks", &arg_map);
jfrt_register_opt_bool(ctx->sync_deletes, "sync-deletes", &arg_map);
+ jfrt_register_opt_bool(ctx->regexp, "regexp", &arg_map);
// Integer options
jfrt_register_opt_long(ctx->build_number, "build-number", &arg_map);