Add --list to rc-service to list all available services.

This commit is contained in:
Roy Marples
2008-03-21 09:10:59 +00:00
parent e505e6ea41
commit 494fb0a5f6
6 changed files with 121 additions and 29 deletions

View File

@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd Mar 19, 2008
.Dd Mar 21, 2008
.Dt RC-SERVICE 8 SMM
.Os OpenRC
.Sh NAME
@@ -32,10 +32,18 @@
.Nm
.Ar service cmd
.Op Ar ...
.Nm
.Fl l , -list
.Sh DESCRIPTION
Service scripts could be in different places on different systems.
.Nm
locates the specified service and runs it with the given arguments.
.Pp
If given the
.Fl l , -list
argument then
.Nm
will list all available services.
.Sh SEE ALSO
.Xr rc 8 ,
.Sh AUTHORS