Hi all,

I've just submitted pull request [1] improving command line options handling in 
creduce. 

In a few words, now creduce --help output looks like

creduce 2.1.0 - C and C++ program reducer
Summary of options:
   -n <N>                 Set number of creduce processes to run
                          simultaneously [default: 32]
   --skip-initial-passes  Skip initial passes (useful if input is already
                          reduced)
   --sanity-checks        Ensure the delta test succeeds before starting each
                          pass
   --verbose              Print debug information

usage: creduce [options] test_script.sh file.c
       creduce --help to list options


It is generated (and formatted) automatically from options table.

I'd like you to review names of new options, description texts, and 
implementation.


I think there should be options 
  --exclude-passes <pass1,pass2,...>
and
  --only-passes <pass1,pass2,..>

but I'm not sure how pass names should be passed (e.g., I usually comment out
pass_peep with arg "b" for large files, should it be specified as pass_peep::b 
or 
in another format? what about clang_delta passes, should pass_clang:: be always
prepended to pass names?)

[1] https://github.com/csmith-project/creduce/pull/13

 -- 
Regards,
Konstantin

Reply via email to