Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line --run is broken #363

Closed
xsebek opened this issue Jun 4, 2022 · 1 comment · Fixed by #364
Closed

Command line --run is broken #363

xsebek opened this issue Jun 4, 2022 · 1 comment · Fixed by #364
Labels
Bug The observed behaviour is incorrect or unexpected.

Comments

@xsebek
Copy link
Member

xsebek commented Jun 4, 2022

cabal run swarm:swarm -- --run example/list.sw

image

@xsebek xsebek added the Bug The observed behaviour is incorrect or unexpected. label Jun 4, 2022
@byorgey
Copy link
Member

byorgey commented Jun 4, 2022

Hmm, I guess the problem is that it doesn't know which scenario to use so it just uses a blank default game state. It works if you do

cabal run swarm:swarm -- --run example/list.sw -c 00-classic

I guess we should just make classic mode the default if no scenario is specified?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The observed behaviour is incorrect or unexpected.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants