#1014361 coreutils: du --time-style=/$TIME_STYLE error message wrong

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
наб
Date:
2022-07-04 21:42:04 UTC
Severity:
minor
#1014361#5
Date:
2022-07-04 21:38:33 UTC
From:
To:
Dear Maintainer,

Quoth du(1):
    --time-style=STYLE
              show times using STYLE, which can be: full-iso, long-iso, iso, or +FORMAT; FORMAT is interpreted like in 'date'

But:
  $ du LICENCE --time  --time-style=asd
  du: invalid argument ‘asd’ for ‘time style’
  Valid arguments are:
    - ‘full-iso’
    - ‘long-iso’
    - ‘iso’
  Try 'du --help' for more information.
  $ TIME_STYLE=asd du LICENCE --time
  du: invalid argument ‘asd’ for ‘time style’
  Valid arguments are:
    - ‘full-iso’
    - ‘long-iso’
    - ‘iso’
  Try 'du --help' for more information.

This is very obviously wrong:
  nabijaczleweli@tarta:~/code/voreutils/aac$ du LICENCE --time  --time-style=+asd%Z
  5       asdCEST LICENCE

(Also, these seem to be prefix-matched, which is unnoted: try speccing
 the empty string ("ambiguous"), "l", or "la".)

Best,
наб