diff --git a/tools/ps_analyze.sh b/tools/ps_analyze.sh index 5141ef780f73ea2e012277638996495fa7ede394..3b38a9197ba79e91cff475ae3f2e62d54e73d37c 100755 --- a/tools/ps_analyze.sh +++ b/tools/ps_analyze.sh @@ -247,30 +247,30 @@ set_step_option() usage() { echo "Protect an input program, generating a new executable." - echo "ps_analyze.sh <input> <output> <options> " - echo - echo "Where options can be any of:" + echo "Program Parameters are: <infile> <outfile> <options> " + echo "" + echo "Where <options> can be any of:" echo echo " --step <stepname>[=(on|off)] Turn the <stepname> step on or off." - echo " -s <stepname>[=(on|off)] Same as --step." + echo " -s <stepname>[=(on|off)] Same as --step." echo " --critical-step <stepname>[=(on|off)] Same as --step, but exits with error code if step fails." - echo " -c <stepname>[=(on|off)] Same as --critical-step." - echo " --step-option [<stepname>:]<option> Pass additional option to step <stepname>. If stepname " + echo " -c <stepname>[=(on|off)] Same as --critical-step." + echo " --step-option [<stepname>:]<option> Pass additional option to step <stepname>. If stepname " echo " is omitted, the last named step (in a -s, -c or -o command" echo " is used." - echo - echo " -o <stepname>:<option> Same as --step-option." - echo " --timeout Specify a timeout for ps_analyze.sh." - echo " --help Print this page." - echo " --usage Same as --help" - echo " --tempdir <dir> Specify where the temporary analysis files are stored, " + echo "" + echo " -o <stepname>:<option> Same as --step-option." + echo " --timeout Specify a timeout for ps_analyze.sh." + echo " --help Print this page." + echo " --usage Same as --help" + echo " --tempdir <dir> Specify where the temporary analysis files are stored, " echo " default is peasoup_executable_directory.<exe>.<pid>" echo - echo " --stop-after <step> Stop ps_analyze after completing the specified step." - echo " --stop-before <step> Stop ps_analyze before starting the specified step." - echo " --dump-after <step> Dump IR after completing the specified step." - echo " --dump-before <step> Dump IR before starting the specified step." - echo + echo " --stop-after <step> Stop ps_analyze after completing the specified step." + echo " --stop-before <step> Stop ps_analyze before starting the specified step." + echo " --dump-after <step> Dump IR after completing the specified step." + echo " --dump-before <step> Dump IR before starting the specified step." + echo "" echo "Notes:" echo " 1) Steps are applied in the order specified on the command line." echo " 2) Options to steps are applied in the order given."