Mojira Archive
MC-124127

Command syntax help doesn't handle multiple optional arguments correctly

To reproduce, look at the command syntax help for /clear:

  1. Type in /clear
  2. Hit the space bar
  3. Hit esc
  4. You will see the command syntax help for /clear: /clear [<targets>] [<item>] (see attached screenshot)

The provided syntax suggests that

/clear minecraft:enchanted_book{}

is valid, which it isn't.

The correct syntax help for this example should be /clear [<targets> [<item>]].

Works As Intended

[Mod] redstonehelper

[Mojang] Nathan Adams

2018-01-10, 05:21 PM

2018-01-15, 10:53 PM

2018-01-15, 01:39 PM

3

3

Confirmed

command-syntax-help

Minecraft 18w02a

-