threads / patch / 6503

patchFix daemon documentation: '--enable-service' is not valid

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

## tl;dr

2 messages between Jan 24, 2007 and Jan 24, 2007. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Franck Bui-Huu· Jan 24, 2007, 13:47 UTC · lore
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(-)
Show changes to Documentation/git-daemon.txt +1 −0
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· Jan 24, 2007, 23:30 UTC · re: Franck Bui-Huu · lore

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

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

Show changes to Documentation/git-daemon.txt +2 −0
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.

← back to recent threads