summaryrefslogtreecommitdiffstats
path: root/src/home/homectl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/homectl.c')
-rw-r--r--src/home/homectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homectl.c b/src/home/homectl.c
index c667419a51..83fc86efe3 100644
--- a/src/home/homectl.c
+++ b/src/home/homectl.c
@@ -3234,7 +3234,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;