Skip to content

Commit

Permalink
Change result metadata 'result_format_options' -> 'cmdline.format_opt…
Browse files Browse the repository at this point in the history
…ions'
  • Loading branch information
perlancar committed Mar 10, 2015
1 parent 131b586 commit b4ddf7e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/App/ListOrgHeadlines.pm
Expand Up @@ -344,10 +344,7 @@ sub list_org_headlines {
$res = [map {$_->[0]} @res];
}

[200, "OK", $res, {result_format_options=>{
"text" => {list_max_columns=>1},
"text-pretty" => {list_max_columns=>1},
}}];
[200, "OK", $res, {format_options=>{"any"=> {list_max_columns=>1}}}];
}

1;
Expand Down

0 comments on commit b4ddf7e

Please sign in to comment.