diff options
author | Luc Didry <luc@didry.org> | 2022-01-10 12:11:34 +0100 |
---|---|---|
committer | Aran Deltac <bluefeet@gmail.com> | 2023-06-07 13:19:44 -0700 |
commit | edf4117561a4c4567b9b49175b0c404a17d90927 (patch) | |
tree | 67dbed2a58e895f1bc7351aec3d2fe9e8614a8c6 | |
parent | 704396331e0eb354add6c128d58c4572e7e3427d (diff) |
Allow multi-line arguments
-rwxr-xr-x | script/gitlab-api-v4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/gitlab-api-v4 b/script/gitlab-api-v4 index 6d80343..39daa47 100755 --- a/script/gitlab-api-v4 +++ b/script/gitlab-api-v4 @@ -79,7 +79,7 @@ while (@ARGV) { my $arg = shift @ARGV; next if $arg eq '--'; - if ($arg =~ m{^([^:]+):(.*)$}) { + if ($arg =~ m{^([^:]+):(.*)$}s) { my ($key, $value) = ($1, $2); $key =~ s{-}{_}g; |