Fix daemon documentation: '--enable-service' is not valid
PATCH 1/1 Fix daemon documentation: '--enable-service' is not valid
From: Franck Bui-Huu <[email protected]>
To enable/disable a service we must use '--enable/--disable' options.
Signed-off-by Franck Bui-Huu <[email protected]>
--- Documentation/git-daemon.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/git-daemon.txt +1 -1
@@ -109,7 +109,7 @@ Giving these options is an error when used with `--inetd`; use the facility of inet daemon to achieve the same before spawning `git-daemon` if needed. ---enable-service, --disable-service:: +--enable, --disable:: Enable/disable the service site-wide per default. Note that a service disabled site-wide can still be enabled per repository if it is marked overridable and the
Signature · 1 line
1.4.4.3.ge6d4
Thanks. But I think it was a typo that should have been fixed like this, which I'll commit.
Documentation/git-daemon.txt +2 -2
@@ -131,14 +131,14 @@ Giving these options is an error when used with `--inetd`; use the facility of inet daemon to achieve the same before spawning `git-daemon` if needed. ---enable-service, --disable-service:: +--enable=service, --disable=service:: Enable/disable the service site-wide per default. Note that a service disabled site-wide can still be enabled per repository if it is marked overridable and the repository enables the service with an configuration item. ---allow-override, --forbid-override:: +--allow-override=service, --forbid-override=service:: Allow/forbid overriding the site-wide default with per repository configuration. By default, all the services are overridable.