Skip to content

Commit

Permalink
Document --no-package/--build-package slice2py options (#3025)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone authored Nov 1, 2024
1 parent 8733481 commit e974436
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpp/src/slice2py/Python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
}

Expand Down
10 changes: 10 additions & 0 deletions man/man1/slice2py.1
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit e974436

Please sign in to comment.