summaryrefslogtreecommitdiffstats
path: root/bridge/lib/bridge/bin/destroy
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/lib/bridge/bin/destroy')
-rwxr-xr-xbridge/lib/bridge/bin/destroy9
1 files changed, 9 insertions, 0 deletions
diff --git a/bridge/lib/bridge/bin/destroy b/bridge/lib/bridge/bin/destroy
index f625d138..dffdbd8a 100755
--- a/bridge/lib/bridge/bin/destroy
+++ b/bridge/lib/bridge/bin/destroy
@@ -1,3 +1,12 @@
#! /bin/sh
+#
+# Destroy a session.
+#
+## SYNOPSIS
+#
+# bridge destroy SESSION
+#
+# Note that this may destroy similar named sessions (by implication / tmux)
+#
set -euf
tmux -L bridge kill-session -t "$1"