Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Propagate maxreps parameter from command line #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pacohope
Copy link

The repetitions command line option was ignored. It wasn't propagated and the maxreps parameter was hardcoded. I just added enough syntax to accept the parameter on the command line and propagate it down to the Random() function. I also modified the debugging output. Looks like the Debug function doesn't do string interpolation (I was seeing literally %d repetitions) in the debug output, followed by the number.

@pacohope
Copy link
Author

I am a bit of a novice in terms of Go and its import mechanism. I rebased the "gromit" import so it pulled from my local $GOSRC. Not really sure how else to do local development. Go seemed to want to pull the code from the master on github. Travis CI failed to build and I suspect that's the reason. Dunno how to do this better.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant