diff --git a/documents/ros-wait.1 b/documents/ros-wait.1 index 6b65f3b..19f0f0d 100644 --- a/documents/ros-wait.1 +++ b/documents/ros-wait.1 @@ -4,8 +4,23 @@ ros\-wait \- .SH synopsis .PP -\f[B]ros [options] wait\f[] args... -.SH description +\f[B]ros [options] wait\f[] +.SH Description +.PP +Wait forever after processing the options. +.PP +Useful when the application should work as a background/daemonized +application. +.SH Usecase +.PP +This loads and launches a clack application and wait for the request +from the client. +.IP +.nf +\f[C] +$\ ros\ \-sp\ clack\ \-l\ app.lisp\ \-e\ \[aq](clack:clackup)\[aq]\ wait +\f[] +.fi .SH SEE ALSO .PP \f[I]ros\f[](1) diff --git a/documents/ros-wait.html b/documents/ros-wait.html index 96bf7c7..08f205f 100644 --- a/documents/ros-wait.html +++ b/documents/ros-wait.html @@ -20,7 +20,7 @@
ros-wait -
ros [options] wait args...
+ros [options] wait
@@ -29,7 +29,12 @@ -Wait forever after processing the options.
+Useful when the application should work as a background/daemonized application.
+This loads and launches a clack application and wait for the request from the client.
+$ ros -sp clack -l app.lisp -e '(clack:clackup)' wait
diff --git a/documents/ros-wait.md b/documents/ros-wait.md
index 6f0e023..13b9ccc 100644
--- a/documents/ros-wait.md
+++ b/documents/ros-wait.md
@@ -2,7 +2,7 @@
ros-wait -
# synopsis
-**ros [options] wait** args...
+**ros [options] wait**
@@ -10,7 +10,17 @@ ros-wait -
-# description
+# Description
+
+Wait forever after processing the options.
+
+Useful when the application should work as a background/daemonized application.
+
+# Usecase
+
+This loads and launches a clack application and wait for the request from the client.
+
+ $ ros -sp clack -l app.lisp -e '(clack:clackup)' wait