2.7, 2.8, 2.9: put session name before arguments for create command
[lttng-docs.git] / 2.7 / lttng-docs-2.7.txt
index c8f68489032b6189b63cb9c5b7d05941bcb9dc2f..ffe5b5e39bcedbea160bd68fffe93aa08c2ce98a 100644 (file)
@@ -5150,7 +5150,7 @@ To output LTTng traces to a non-default location:
 --
 [role="term"]
 ----
-lttng create --output=/tmp/some-directory my-session
+lttng create my-session --output=/tmp/some-directory
 ----
 --
 
@@ -6042,7 +6042,7 @@ To use LTTng live:
 --
 [role="term"]
 ----
-lttng create --live my-session
+lttng create my-session --live
 ----
 --
 +
@@ -6108,7 +6108,7 @@ To take a snapshot:
 --
 [role="term"]
 ----
-lttng create --snapshot my-session
+lttng create my-session --snapshot
 ----
 --
 +
This page took 0.023277 seconds and 4 git commands to generate.