mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-09 15:52:23 +03:00
Update --help
This commit is contained in:
parent
84bf4880ff
commit
ecf83f90d9
2 changed files with 9 additions and 5 deletions
|
@ -109,7 +109,7 @@ options:
|
||||||
Directory to generate output files in. By default,
|
Directory to generate output files in. By default,
|
||||||
package files are stored next to their corresponding
|
package files are stored next to their corresponding
|
||||||
package.xml, top-level files like overlay.nix in the
|
package.xml, top-level files like overlay.nix in the
|
||||||
current directory) (default: None)
|
current directory. (default: None)
|
||||||
--fetch Use fetches like fetchFromGitHub in src attribute
|
--fetch Use fetches like fetchFromGitHub in src attribute
|
||||||
values. The fetch function and its parameters are
|
values. The fetch function and its parameters are
|
||||||
determined from the local git work tree. sourceRoot
|
determined from the local git work tree. sourceRoot
|
||||||
|
@ -150,7 +150,9 @@ options:
|
||||||
2 if a change is detected. Useful for CI. (default:
|
2 if a change is detected. Useful for CI. (default:
|
||||||
False)
|
False)
|
||||||
--copyright-holder COPYRIGHT_HOLDER
|
--copyright-holder COPYRIGHT_HOLDER
|
||||||
--license LICENSE License of the generated Nix expression, e.g. 'BSD'
|
Copyright holder of the generated Nix expressions.
|
||||||
|
(default: None)
|
||||||
|
--license LICENSE License of the generated Nix expressions, e.g. 'BSD'
|
||||||
(default: None)
|
(default: None)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -200,7 +200,7 @@ def ros2nix(args):
|
||||||
"--output-dir",
|
"--output-dir",
|
||||||
help="Directory to generate output files in. "
|
help="Directory to generate output files in. "
|
||||||
"By default, package files are stored next to their corresponding package.xml, "
|
"By default, package files are stored next to their corresponding package.xml, "
|
||||||
"top-level files like overlay.nix in the current directory)",
|
"top-level files like overlay.nix in the current directory.",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
@ -267,9 +267,11 @@ def ros2nix(args):
|
||||||
"Exit with exit code 2 if a change is detected. Useful for CI.",
|
"Exit with exit code 2 if a change is detected. Useful for CI.",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument("--copyright-holder")
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--license", help="License of the generated Nix expression, e.g. 'BSD'"
|
"--copyright-holder", help="Copyright holder of the generated Nix expressions."
|
||||||
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"--license", help="License of the generated Nix expressions, e.g. 'BSD'"
|
||||||
)
|
)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue