From 0084f08c30d91821e75cd0054100d751153576df Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Sun, 25 Oct 2026 17:39:11 -0700 Subject: [PATCH] zig fmt: Add --upgrade flag to usage text --- src/fmt.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fmt.zig b/src/fmt.zig index 4646fa1a28dc0467d65fd84d086797d01f468be1..b5aef51ef6012050087da06e3746c5073f50a7b7 100644 --- a/src/fmt.zig +++ b/src/fmt.zig @@ -25,6 +25,8 @@ const usage_fmt = \\ --exclude [file] Exclude file or directory from formatting \\ --zon Treat all input files as ZON, regardless of file extension \\ --stats Print aggregated statistics in ZON format to stdout + \\ --upgrade Fix any ambiguous operator precedence errors by adding + \\ parentheses maintaining the order from 0.17.x \\ \\ ; -- 2.54.0