Skip to content

Commit

Permalink
Merge pull request #6 from TheoBrigitte/fix-column-incompatibility
Browse files Browse the repository at this point in the history
Fix column invalid option -- 'C'
  • Loading branch information
TheoBrigitte authored Oct 10, 2024
2 parents 8075b4f + daf4b8f commit a03110b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ main() {
echo "$DATA" | \
$JQ_BIN -r '.plans[] '"$category_filter"' | [ .planCode, .blobs.commercial.range, .invoiceName, (.pricings[] | select(.phase == 1) | select(.mode == "default") | .price/100000000) ] | @tsv' | \
sort -k2,2 -k4n,4 -b -t $'\t' | \
column -s $'\t' -t -C "name=PlanCode" -C "name=Category" -C "name=Name" -C "name=Price ($CURRENCY)" -o ' '
column -s $'\t' -t -N "PlanCode,Category,Name,Price ($CURRENCY)" -o ' '
}

main "$@"

0 comments on commit a03110b

Please sign in to comment.