From e9744361c2d67186fe0fa8cfd4e5ad4b9510810c Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 1 Nov 2024 10:42:11 +0100 Subject: [PATCH] Document --no-package/--build-package slice2py options (#3025) --- cpp/src/slice2py/Python.cpp | 4 +++- man/man1/slice2py.1 | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/cpp/src/slice2py/Python.cpp b/cpp/src/slice2py/Python.cpp index aae5a95e70d..c1773b5082e 100644 --- a/cpp/src/slice2py/Python.cpp +++ b/cpp/src/slice2py/Python.cpp @@ -415,7 +415,9 @@ namespace "--depend-xml Generate dependencies in XML format.\n" "--depend-file FILE Write dependencies to FILE instead of standard output.\n" "--all Generate code for Slice definitions in included files.\n" - "--prefix PREFIX Prepend filenames of Python modules with PREFIX.\n"; + "--prefix PREFIX Prepend filenames of Python modules with PREFIX.\n" + "--no-package Do not generate Python package hierarchy.\n" + "--build-package Only generate Python package hierarchy.\n"; } } diff --git a/man/man1/slice2py.1 b/man/man1/slice2py.1 index a589c4d78be..9c29922eb23 100644 --- a/man/man1/slice2py.1 +++ b/man/man1/slice2py.1 @@ -93,6 +93,16 @@ Generate code for all Slice definitions, including those from included files. .br Use PREFIX as the prefix for generated file names. +.TP +.BR \-\-no-package\fR +.br +Do not generate Python package hierarchy. + +.TP +.BR \-\-build-package\fR +.br +Only generate Python package hierarchy. + .SH SEE ALSO .BR slice2cpp (1),