Flag --all-layers not working


I’m exporting a sprite using the command line it seems the --all-layers flag isn’t working. Layers that are hidden aren’t be exported. If I unhide them everything works fine. Am I understanding this flag correctly? Does it matter where on the command line it goes? I’ve tried a bunch of places to no aval.



Any help on this? Has anyone else experienced this? Is it a real bug? Am I just doing it wrong?