2.7, 2.8, 2.9: put session name before arguments for create command
[lttng-docs.git] / 2.9 / lttng-docs-2.9.txt
index 27965e8161a300074af01fd13ffc7d33ee14820e..1b74bc0b49c98d89b861fc49c7e9dbd3506eb059 100644 (file)
@@ -5494,7 +5494,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
 ----
 --
 
@@ -6506,7 +6506,7 @@ To take a snapshot:
 --
 [role="term"]
 ----
-lttng create --snapshot my-session
+lttng create my-session --snapshot
 ----
 --
 +
This page took 0.02347 seconds and 4 git commands to generate.