NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/58825: service(8) man page doesn't describe possible actions



>Number:         58825
>Category:       bin
>Synopsis:       service(8) man page doesn't describe possible actions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 11 12:00:01 +0000 2024
>Originator:     Paul Goyette
>Release:        NetBSD 10.99.12
>Organization:
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+
>Environment:
	
	
System: NetBSD speedy.whooppee.com 10.99.12 NetBSD 10.99.12 (SPEEDY 2024-09-29 10:16:33 UTC) #0: Sun Sep 29 12:40:54 UTC 2024 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
The man page for service(8) shows usage/synopsis for

		service [-v] rc_script_name action

But there is no further detail for what actions might be available.
When service program is invoked with an invalid value for action,
the usage() error message shows a list of common actions:

	#  service ntpd help
	/etc/rc.d/ntpd: unknown directive 'help'.
	Usage: /etc/rc.d/ntpd [fast|force|one](start stop restart rcvar status poll)
	#

	
>How-To-Repeat:
	
>Fix:
	
Include additional text for both the man page and the program's usage():

	...
	 service [-v] rc_script_name action
		Run rc_script_name to perform the action specified.  Possible
		actions may include 
		    [fast|force|one](start stop restart rcvar status poll)
	...

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index