# [PATCH] Fix daemon documentation: '--enable-service' is not valid

2 messages from 2007-01-24 to 2007-01-24. Participants: Franck Bui-Huu, Junio C Hamano.
Thread: https://gitlist.dev/t/6503

## Franck Bui-Huu, 2007-01-24 13:47

Subject: [PATCH] Fix daemon documentation: '--enable-service' is not valid
Message-ID: <45B76385.5050009@innova-card.com>
URL: https://gitlist.dev/e/45B76385.5050009%40innova-card.com

```
From: Franck Bui-Huu <fbuihuu@gmail.com>

To enable/disable a service we must use '--enable/--disable' options.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
---
 Documentation/git-daemon.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index 741f2c6..6e4cded 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -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
-- 
1.4.4.3.ge6d4

```

## Junio C Hamano, 2007-01-24 23:30

Subject: Re: [PATCH] Fix daemon documentation: '--enable-service' is not valid
Message-ID: <7vejpkdmv5.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vejpkdmv5.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <45B76385.5050009@innova-card.com>

```
Thanks.  But I think it was a typo that should have been fixed
like this, which I'll commit.

diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index 993adc7..9ddab71 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -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.

```
