lttng: Add --glob option to lttng-destroy
[lttng-tools.git] / doc / man / lttng-destroy.1.txt
index 457808dab6a185d2705924eb4b2a1a17d4f99ddb..4c610bb492b43bfcaef46c4a1fad731473515fae 100644 (file)
@@ -11,7 +11,7 @@ lttng-destroy - Destroy LTTng recording sessions
 SYNOPSIS
 --------
 [verse]
-*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *destroy* [option:--no-wait] [option:--all | 'SESSION']
+*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *destroy* [option:--no-wait] [option:--all | option:--glob 'SESSION' | 'SESSION']
 
 
 DESCRIPTION
@@ -76,6 +76,9 @@ option:-a, option:--all::
     man:lttng-list(1), instead of the current recording session or the
     recording session named 'SESSION'.
 
+option:-g, option:--glob::
+    Interpret SESSION as a globbing pattern.
+
 option:-n, option:--no-wait::
     Do :not: ensure that the trace data of the recording session(s) to
     destroy is valid before exiting.
@@ -126,6 +129,16 @@ $ lttng destroy --all
 ----
 ====
 
+.Destroy all recording sessions with the suffix foo.
+====
+See the option:--glob option.
+
+[role="term"]
+----
+$ lttng destroy --global '*foo'
+----
+====
+
 
 include::common-footer.txt[]
 
This page took 0.022518 seconds and 4 git commands to generate.