@@ 54,7 54,7 @@ fn main() {
options.optopt("d", ARG_DEAD, "the character to display for dead cells", "CHAR");
options.optopt("a", ARG_ALIVE, "the character to display for living cells", "CHAR");
options.optopt("b", ARG_BORDER, "Draw a border around the grid. Valid TYPEs are: blank, single (default), double, strong, thin, thick, solid", "TYPE");
- options.optopt("x", ARG_RAND, "initialize the grid randomly with CHANCE for life in each cell ([0..1], default 0.5)", "CHANCE");
+ options.optflagopt("x", ARG_RAND, "randomly initialize the grid with CHANCE for life in each cell ([0..1], default 0.5)", "CHANCE");
let print_help = |short: bool| {
const TITLE: &'static str = "cursedlife\nCopyright 2015 Robin Stumm\nhttp://dermetfan.net";