summaryrefslogtreecommitdiffstats
path: root/src/dissect
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-14 11:45:01 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-15 08:50:45 +0100
commitb1e8f46c318d88df8e0939e6cf2428ba4c343957 (patch)
tree89c247b1baca24664887a77b9ce55d04ec38887a /src/dissect
parentMove and rename parse_path_argument() function (diff)
downloadsystemd-b1e8f46c318d88df8e0939e6cf2428ba4c343957.tar.xz
systemd-b1e8f46c318d88df8e0939e6cf2428ba4c343957.zip
Move and rename parse_json_argument() function
json.[ch] is a very generic implementation, and cmdline argument parsing doesn't fit there.
Diffstat (limited to 'src/dissect')
-rw-r--r--src/dissect/dissect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dissect/dissect.c b/src/dissect/dissect.c
index e5ca85ffc5..f8f34dcc4d 100644
--- a/src/dissect/dissect.c
+++ b/src/dissect/dissect.c
@@ -260,7 +260,7 @@ static int parse_argv(int argc, char *argv[]) {
break;
case ARG_JSON:
- r = json_parse_cmdline_parameter_and_warn(optarg, &arg_json_format_flags);
+ r = parse_json_argument(optarg, &arg_json_format_flags);
if (r <= 0)
return r;