zhengweisk / aspersa

Automatically exported from code.google.com/p/aspersa
0 stars 0 forks source link

ioprofile -k has no default value #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It should have a default:

   -k KEEPFILE A file to hold the raw strace data (defalt: /tmp/aspersa)

But it doesn't:

   export OPT_k="${OPT_k:-}";

That makes it execute this if -k is not given:

/usr/sbin/strace -T -s 0 -f -p 4538 >>  2>&1 &

Original issue reported on code.google.com by baron.schwartz on 18 Feb 2011 at 6:55

GoogleCodeExporter commented 9 years ago
Fixed in revision 349.

Original comment by greenlion@gmail.com on 19 Feb 2011 at 12:24

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r351.

The real problem here was a typo in the USAGE data that resulted in wrongly 
auto-generated command-line parsing code

Original comment by baron.schwartz on 19 Feb 2011 at 8:55