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 be3fd6ebdb8b7fd7945a890b4f7cb48fb1429516..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
 ----
 --
 
@@ -6108,7 +6108,7 @@ To take a snapshot:
 --
 [role="term"]
 ----
-lttng create --snapshot my-session
+lttng create my-session --snapshot
 ----
 --
 +
This page took 0.022762 seconds and 4 git commands to generate.