[1.1.2] cli parameters dont throw errors when they should

Bugs that are actually features.
Post Reply
proicop
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Jul 22, 2020 9:27 am
Contact:

[1.1.2] cli parameters dont throw errors when they should

Post by proicop »

Hello

when running:
./factorio --generate-map-preview --map-gen-settings ./speed-gen.json --map-settings ./speed-settings.json --map-gen-seed 1063559207
factorio instead of throwing an error because no image file name was provided, generates image named "--map-gen-settings" (the parameter after "--generate-map-preview")

(used headless linux)

posila
Factorio Staff
Factorio Staff
Posts: 5033
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [1.1.2] cli parameters dont throw errors when they should

Post by posila »

That's not a bug, you literally passed it image name --map-gen-settings

proicop
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Jul 22, 2020 9:27 am
Contact:

Re: [1.1.2] cli parameters dont throw errors when they should

Post by proicop »

Shouldn't the game then throw error since "./speed-gen.json" doesn't make sense if "--map-gen-settings" is value for "--generate-map-preview"?

Post Reply

Return to “Not a bug”