[pve-devel] [PATCH docs 1/2] call spell-corrected synopsis generator method

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Oct 6 15:12:48 CEST 2016


---
Note: requires patch to pve-common, maybe apply with delay?

 pve-doc-generator.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pve-doc-generator.mk b/pve-doc-generator.mk
index 0f97202..e8eea64 100644
--- a/pve-doc-generator.mk
+++ b/pve-doc-generator.mk
@@ -152,11 +152,11 @@ attributes.txt docinfo.xml:
 	mv $@.tmp $@
 
 %.1-synopsis.adoc:
-	perl -I. -e "use PVE::CLI::$(subst -,_,$*);print PVE::CLI::$(subst -,_,$*)->generate_asciidoc_synopsys();" > $@.tmp
+	perl -I. -e "use PVE::CLI::$(subst -,_,$*);print PVE::CLI::$(subst -,_,$*)->generate_asciidoc_synopsis();" > $@.tmp
 	mv $@.tmp $@
 
 %.8-synopsis.adoc:
-	perl -I. -e "use PVE::Service::$(subst -,_,$*);print PVE::Service::$(subst -,_,$*)->generate_asciidoc_synopsys();" > $@.tmp
+	perl -I. -e "use PVE::Service::$(subst -,_,$*);print PVE::Service::$(subst -,_,$*)->generate_asciidoc_synopsis();" > $@.tmp
 	mv $@.tmp $@
 
 ifneq (${DGDIR},.)
-- 
2.1.4





More information about the pve-devel mailing list