Add --default and --no-default option

This commit is contained in:
Michal Sojka 2024-09-22 09:39:01 +02:00
parent 38d2f17d89
commit c6b1a2c507
2 changed files with 12 additions and 3 deletions

View file

@ -103,8 +103,9 @@ usage: ros2nix [-h]
[--extra-propagated-build-inputs DEP1,DEP2,...]
[--extra-check-inputs DEP1,DEP2,...]
[--extra-native-build-inputs DEP1,DEP2,...] [--flake]
[--overlay | --no-overlay] [--nixfmt] [--compare]
[--copyright-holder COPYRIGHT_HOLDER] [--license LICENSE]
[--default | --no-default] [--overlay | --no-overlay]
[--nixfmt] [--compare] [--copyright-holder COPYRIGHT_HOLDER]
[--license LICENSE]
package.xml [package.xml ...]
positional arguments:
@ -159,6 +160,9 @@ options:
--flake Generate top-level flake.nix instead of default.nix.
Use with --fetch if some package.xml files are outside
of the flake repo (default: False)
--default, --no-default
Enforce/suppress generation of default.nix (default:
None)
--overlay, --no-overlay
Generate overlay.nix (default: True)
--nixfmt Format the resulting expressions with nixfmt (default: