Skip to content

Commit

Permalink
Auto stash before merge of "master" and "origin/master"
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Jun 10, 2018
1 parent 712121e commit ae15a34
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions cmd/rolltable/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@
//
// -force deletes all old tables before removing new ones.
//
// -n int The number of dice to generate rolls for (default 2).
//
// -d string The name of the die type to roll (default is "d6").
//
// Example:
// rolltable -n=3 -d="d6"
// Will generate the rolltable for 3d6.
// rolltable
// Will generate the rolltable for 2d6.
//
// See https://godoc.org/github.com/sbrow/rolltable for info on the package.
// See package github.com/sbrow/prob/dice for info on the package.
package main

import (
Expand All @@ -22,8 +18,8 @@ import (
)

func main() {
n := flag.Int("n", 2, "The number of dice to generate rolls for")
d := flag.Int("d", 6, "The number of sides the die has")
// n := flag.Int("n", 2, "The number of dice to generate rolls for")
// d := flag.Int("d", 6, "The number of sides the die has")
force := flag.Bool("force", false,
"deletes all old tables before removing new ones")
flag.Parse()
Expand Down

0 comments on commit ae15a34

Please sign in to comment.