Skip to content

Commit

Permalink
Use the actual type syntax in the shell help
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Josef Svenningsson authored and facebook-github-bot committed Jan 20, 2025
1 parent 9f5383c commit 5c6243a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions glean/shell/Glean/Shell.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
, ""
Expand Down
4 changes: 2 additions & 2 deletions glean/shell/tests/integration/test-shell.t
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5c6243a

Please sign in to comment.