Permalink
Browse files

Fixed CLI parsing sanity check

  • Loading branch information...
1 parent e8ba1b3 commit d15a290cb18df90fd533a9152de14bf393ca483a @matthewjmiller1 committed Aug 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/employee_example.c
@@ -389,7 +389,7 @@ parse_command_line (int argc, char **argv, employee_example_opts_st *opts)
print_usage(true, EXIT_SUCCESS);
}
- if (!(opts->zipf_alpha >= 0.0)) {
+ if (!(opts->zipf_alpha > 0.0)) {
printf("Error: Zipf alpha(%lf) must be greater than 0.0\n",
opts->zipf_alpha);
print_usage(true, EXIT_SUCCESS);

0 comments on commit d15a290

Please sign in to comment.