summaryrefslogtreecommitdiffstats
path: root/bin/scons-doc.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/scons-doc.py')
-rw-r--r--bin/scons-doc.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/scons-doc.py b/bin/scons-doc.py
index 6ea429b..e385b08 100644
--- a/bin/scons-doc.py
+++ b/bin/scons-doc.py
@@ -490,11 +490,15 @@ def command_ls(args, c, test, dict):
else:
return ls(test.workpath('WORK'))
+def command_sleep(args, c, test, dict):
+ time.sleep(int(args[0]))
+
CommandDict = {
'scons' : command_scons,
'touch' : command_touch,
'edit' : command_edit,
'ls' : command_ls,
+ 'sleep' : command_sleep,
}
def ExecuteCommand(args, c, t, dict):