diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-14 11:45:01 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-15 08:50:45 +0100 |
commit | b1e8f46c318d88df8e0939e6cf2428ba4c343957 (patch) | |
tree | 89c247b1baca24664887a77b9ce55d04ec38887a /src/dissect | |
parent | Move and rename parse_path_argument() function (diff) | |
download | systemd-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.c | 2 |
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; |