|
@@ -1080,11 +1080,18 @@ Available commands are:
|
|
|
situations instead. Use ``--`` to stop interpreting options and treat all
|
|
|
remaining arguments as paths, even if they start with ``-``.
|
|
|
|
|
|
-.. option:: sleep <number>...
|
|
|
+.. option:: sleep <number>
|
|
|
|
|
|
.. versionadded:: 3.0
|
|
|
|
|
|
- Sleep for given number of seconds.
|
|
|
+ Sleep for ``<number>`` seconds. ``<number>`` may be a floating point number.
|
|
|
+ A practical minimum is about 0.1 seconds due to overhead in starting/stopping
|
|
|
+ CMake executable. This can be useful in a CMake script to insert a delay:
|
|
|
+
|
|
|
+ .. code-block:: cmake
|
|
|
+
|
|
|
+ # Sleep for about 0.5 seconds
|
|
|
+ execute_process(COMMAND ${CMAKE_COMMAND} -E sleep 0.5)
|
|
|
|
|
|
.. option:: tar [cxt][vf][zjJ] file.tar [<options>] [--] [<pathname>...]
|
|
|
|