Skip to content

Commit baf6ce1

Browse files
committed
Disable yaml output
1 parent 244c2d7 commit baf6ce1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

main/format_output.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ parse_format(gchar *format)
2424
return JSON;
2525
if (g_strcmp0(format, "csv") == 0)
2626
return CSV;
27+
#if 0
2728
if (g_strcmp0(format, "yaml") == 0)
2829
return YAML;
30+
#endif
2931
else
3032
return DEFAULT;
3133
}

main/gridinit_cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static GOptionEntry entries[] = {
123123
"explicit unix socket path", "SOCKET"},
124124
{"format", 'f', 0, G_OPTION_ARG_STRING, &format,
125125
"output result by given FORMAT. Available FORMAT value are "
126-
"yaml, csv or json","FORMAT"},
126+
"csv or json","FORMAT"},
127127
{"version", 'v', 0, G_OPTION_ARG_NONE, &flag_version,
128128
"Display the version of gridinit_cmd", NULL},
129129
{NULL}

0 commit comments

Comments
 (0)