/systemd-251/src/userdb/ |
D | userdbctl.c | 32 } arg_output = _OUTPUT_INVALID; variable 71 switch (arg_output) { in show_user() 352 if (arg_output < 0) in display_user() 353 arg_output = argc > 1 ? OUTPUT_FRIENDLY : OUTPUT_TABLE; in display_user() 355 if (arg_output == OUTPUT_TABLE) { in display_user() 387 if (draw_separator && arg_output == OUTPUT_FRIENDLY) in display_user() 419 if (draw_separator && arg_output == OUTPUT_FRIENDLY) in display_user() 473 switch (arg_output) { in show_group() 662 if (arg_output < 0) in display_group() 663 arg_output = argc > 1 ? OUTPUT_FRIENDLY : OUTPUT_TABLE; in display_group() [all …]
|
/systemd-251/src/journal-remote/ |
D | journal-remote-main.c | 44 static const char* arg_output = NULL; variable 602 arg_output, in create_remoteserver() 657 r = journal_remote_add_source(s, fd, (char*) arg_output, false); in create_remoteserver() 960 if (arg_output) in parse_argv() 964 arg_output = optarg; in parse_argv() 1027 if (!arg_output) in parse_argv() 1041 if (arg_split_mode == JOURNAL_WRITE_SPLIT_NONE && arg_output) { in parse_argv() 1042 if (is_dir(arg_output, true) > 0) in parse_argv() 1045 if (!endswith(arg_output, ".journal")) in parse_argv() 1051 && arg_output && is_dir(arg_output, true) <= 0) in parse_argv()
|
/systemd-251/src/login/ |
D | loginctl.c | 52 static OutputMode arg_output = OUTPUT_SHORT; variable 91 if (table_get_rows(table) > 1 || OUTPUT_MODE_IS_JSON(arg_output)) { in show_table() 98 if (OUTPUT_MODE_IS_JSON(arg_output)) in show_table() 99 …r = table_print_json(table, NULL, output_mode_to_json_format_flags(arg_output) | JSON_FORMAT_COLOR… in show_table() 547 arg_output, in print_session_status_info() 624 arg_output, in print_user_status_info() 1368 arg_output = output_mode_from_string(optarg); in parse_argv() 1369 if (arg_output < 0) in parse_argv() 1370 return log_error_errno(arg_output, "Unknown output '%s'.", optarg); in parse_argv() 1372 if (OUTPUT_MODE_IS_JSON(arg_output)) in parse_argv()
|
/systemd-251/src/systemctl/ |
D | systemctl-set-environment.c | 83 if (OUTPUT_MODE_IS_JSON(arg_output)) { in verb_show_environment() 90 json_variant_dump(v, output_mode_to_json_format_flags(arg_output), stdout, NULL); in verb_show_environment()
|
D | systemctl.c | 101 OutputMode arg_output = OUTPUT_SHORT; variable 734 arg_output = output_mode_from_string(optarg); in systemctl_parse_argv() 735 if (arg_output < 0) in systemctl_parse_argv() 740 if (OUTPUT_MODE_IS_JSON(arg_output)) { in systemctl_parse_argv()
|
D | systemctl.h | 86 extern OutputMode arg_output;
|
D | systemctl-util.c | 832 if (OUTPUT_MODE_IS_JSON(arg_output)) in output_table() 833 …r = table_print_json(table, NULL, output_mode_to_json_format_flags(arg_output) | JSON_FORMAT_COLOR… in output_table()
|
D | systemctl-show.c | 775 arg_output, in print_status_info()
|
/systemd-251/src/coredump/ |
D | coredumpctl.c | 56 static const char* arg_output = NULL; variable 271 if (arg_output) in parse_argv() 275 arg_output = optarg; in parse_argv() 1060 if (arg_output) { in dump_core() 1061 f = fopen(arg_output, "we"); in dump_core() 1063 … return log_error_errno(errno, "Failed to open \"%s\" for writing: %m", arg_output); in dump_core()
|
/systemd-251/src/journal/ |
D | journalctl.c | 87 static OutputMode arg_output = OUTPUT_SHORT; variable 575 arg_output = output_mode_from_string(optarg); in parse_argv() 576 if (arg_output < 0) in parse_argv() 577 … return log_error_errno(arg_output, "Unknown output format '%s'.", optarg); in parse_argv() 579 …if (IN_SET(arg_output, OUTPUT_EXPORT, OUTPUT_JSON, OUTPUT_JSON_PRETTY, OUTPUT_JSON_SSE, OUTPUT_JSO… in parse_argv() 582 if (OUTPUT_MODE_IS_JSON(arg_output)) in parse_argv() 583 … arg_json_format_flags = output_mode_to_json_format_flags(arg_output) | JSON_FORMAT_COLOR_AUTO; in parse_argv() 2755 r = show_journal_entry(stdout, j, arg_output, 0, flags, in main()
|
/systemd-251/src/machine/ |
D | machinectl.c | 79 static OutputMode arg_output = OUTPUT_SHORT; variable 241 if (table_get_rows(table) > 1 || OUTPUT_MODE_IS_JSON(arg_output)) { in show_table() 248 if (OUTPUT_MODE_IS_JSON(arg_output)) in show_table() 249 …r = table_print_json(table, NULL, output_mode_to_json_format_flags(arg_output) | JSON_FORMAT_COLOR… in show_table() 598 arg_output, in print_machine_status_info() 2689 arg_output = r; in parse_argv() 2691 if (OUTPUT_MODE_IS_JSON(arg_output)) in parse_argv()
|