image optimizer for web

Weird error when folder name starts with -

Nicholas said, on 16/11/2021
Hi, I might be overlooking something obvious here but I've been trying to solve a specific problem I have with pingo. When targeting folder that starts with - as in "- test" an error pops up. If the - is removed everything works fine. Actual console output (same folder just renamed):


U:\New folder\_IN_PROGRESS>pingo -s9 -jpgtype=2 "- test"

  error:
  -----------------------------------------------------------------
  bad command. type 'pingo' for help
  -----------------------------------------------------------------

U:\New folder\_IN_PROGRESS>pingo -s9 -jpgtype=2 "test"

  pingo - (0.84s):
  -----------------------------------------------------------------
  6 files => no savings
  -----------------------------------------------------------------

Thanks!
Nicholas said, on 16/11/2021
Just checked and can confirm that the same problem applies when folder name contains some unicode specific characters.
cédric (dev) said, on 16/12/2021
cf this

reply