Skip to contentSkip to conversation

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

PATCH In review Franck Bui-Huu 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

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.

---
 Documentation/git-daemon.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/git-daemon.txt +1 -1
index 741f2c6..6e4cded 100644
@@ -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
#1 lore raw

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
index 993adc7..9ddab71 100644
@@ -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.