From 5c6243a72e260919b1603edb32e56044e190eff4 Mon Sep 17 00:00:00 2001 From: Josef Svenningsson Date: Mon, 20 Jan 2025 02:52:28 -0800 Subject: [PATCH] Use the actual type syntax in the shell help Summary: It's a bit weird to use the `array(T)` syntax, which isn't valid Angle syntax. Reviewed By: malanka Differential Revision: D68338256 fbshipit-source-id: 03df1de3f316e8062e2712809ef8b0799669dccb --- glean/shell/Glean/Shell.hs | 4 ++-- glean/shell/tests/integration/test-shell.t | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/glean/shell/Glean/Shell.hs b/glean/shell/Glean/Shell.hs index 6f2f7d1c7..78895d54f 100644 --- a/glean/shell/Glean/Shell.hs +++ b/glean/shell/Glean/Shell.hs @@ -494,8 +494,8 @@ helpAngle = vcat , " \"abc\" :: string" , " \"abc\".. :: string prefix match" , " true|false :: bool" - , " [ val1, val2] :: array(T)" - , " [ val1, val2, ..] :: array(T) prefix" + , " [ val1, val2] :: [T]" + , " [ val1, val2, ..] :: [T] prefix" , " { field = val, ... } :: record(fields), omitted fields are wild" , " { field = val } :: sum(fields)" , "" diff --git a/glean/shell/tests/integration/test-shell.t b/glean/shell/tests/integration/test-shell.t index 42d2c6507..f4e37be8f 100644 --- a/glean/shell/tests/integration/test-shell.t +++ b/glean/shell/tests/integration/test-shell.t @@ -43,8 +43,8 @@ "abc" :: string "abc".. :: string prefix match true|false :: bool - [ val1, val2] :: array(T) - [ val1, val2, ..] :: array(T) prefix + [ val1, val2] :: [T] + [ val1, val2, ..] :: [T] prefix { field = val, ... } :: record(fields), omitted fields are wild { field = val } :: sum(fields)