summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-05-10 14:49:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-05-10 15:47:37 +1000
commit822c97a1c209b92fd6c7fbe6cfa02896941a5143 (patch)
treea84247502e413aef995e0d93c490fdd451a7c4f0 /tools
parentaf86152370b9f2ff15d3adb5e0590da7fb64e7cf (diff)
tools: switch the ptraccel-debug tool to report profile curves by default
This is virtually the only one that matters at this point, the others may help but they're usually more confusing than helpful. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/ptraccel-debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/ptraccel-debug.c b/tools/ptraccel-debug.c
index ab7bc13e..b49663c5 100644
--- a/tools/ptraccel-debug.c
+++ b/tools/ptraccel-debug.c
@@ -194,10 +194,10 @@ usage(void)
printf("Usage: %s [options] [dx1] [dx2] [...] > gnuplot.data\n", program_invocation_short_name);
printf("\n"
"Options:\n"
- "--mode=<motion|accel|delta|sequence> \n"
- " motion ... print motion to accelerated motion (default)\n"
+ "--mode=<accel|motion|delta|sequence> \n"
+ " accel ... print accel factor (default)\n"
+ " motion ... print motion to accelerated motion\n"
" delta ... print delta to accelerated delta\n"
- " accel ... print accel factor\n"
" sequence ... print motion for custom delta sequence\n"
"--maxdx=<double> ... in motion mode only. Stop increasing dx at maxdx\n"
"--steps=<double> ... in motion and delta modes only. Increase dx by step each round\n"
@@ -230,8 +230,8 @@ main(int argc, char **argv)
double step = 0.1,
max_dx = 10;
int nevents = 0;
- bool print_accel = false,
- print_motion = true,
+ bool print_accel = true,
+ print_motion = false,
print_delta = false,
print_sequence = false;
double custom_deltas[1024];