Use long options in command line examples
[lttng-docs.git] / contents / getting-started / viewing-and-analyzing.md
index 61816240f23f751d5fb154d242fa27935e05a2a2..4b970cd51563c68b38fa65bfc01f749a4edfb694 100644 (file)
@@ -55,7 +55,7 @@ babeltrace ~/lttng-traces/my-kernel-session | grep sys_
 Counting events is also straightforward:
 
 <pre class="term">
-babeltrace ~/lttng-traces/my-kernel-session | grep sys_read | wc -l
+babeltrace ~/lttng-traces/my-kernel-session | grep sys_read | wc --lines
 </pre>
 
 The text output of `babeltrace` is useful for isolating events by simple
This page took 0.022955 seconds and 4 git commands to generate.