From 73d4737e42bbd46abfcc043fffe12ac2d3ee18be Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <michael@stapelberg.de>
Date: Tue, 25 Oct 2011 22:21:09 +0100
Subject: [PATCH] docs/userguide: document the --no-startup-id flag for exec
 directives in the config

---
 docs/userguide | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/docs/userguide b/docs/userguide
index c40b6676..851d66c3 100644
--- a/docs/userguide
+++ b/docs/userguide
@@ -541,16 +541,21 @@ keyword. These commands will be run in order.
 
 *Syntax*:
 -------------------
-exec command
-exec_always command
+exec [--no-startup-id] command
+exec_always [--no-startup-id] command
 -------------------
 
 *Examples*:
 --------------------------------
 exec chromium
 exec_always ~/my_script.sh
+
+# Execute the terminal emulator urxvt, which is not yet startup-notification aware.
+exec --no-startup-id urxvt
 --------------------------------
 
+The flag --no-startup-id is explained in <<exec>>.
+
 [[workspace_screen]]
 
 === Automatically putting workspaces on specific screens
@@ -1034,6 +1039,8 @@ The criteria +class+, +instance+, +role+, +title+ and +mark+ are actually
 regular expressions (PCRE). See +pcresyntax(3)+ or +perldoc perlre+ for
 information on how to use them.
 
+[[exec]]
+
 === Executing applications (exec)
 
 What good is a window manager if you can’t actually start any applications?