nixfig @main -
refs -
log -
-
https://git.jolheiser.com/nixfig.git
docs: add defaults to --help
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmYqndIACgkQuFOtpdp7
v3odNBAA1s5HB/bOZFA/qnaWPWF+wwTAv6Voh8vwDvFRc4tlbPeJsvidvxCjwo5K
yMwWjfxjxd/f/qqys2tWxh2bp/rZbfNUlcoGqyZ6FLETOcZzStPRbzOI2dlsTVKr
yLM4wfz+3gGQaciaOpUl1t2q/NbjAgTbqD6J0tRO/Df3T9oBiM8o80UHXioPtTak
wto5uYK32Sa9v+GLYz9Uc/ORIkD6rkRRCO6WaW2jaOScNAdhNb9gA4uDu3oJ8TQq
6ZjurrxbjV5Re2MWCdhfYs/bny99v7BInf6Gfa7j6ytEaVu27QfQFgfUWnmDD6Ha
R7/3DkO/VpqRb73yOgcIaBRiPLCOUbmoyvh5iswTPfIEiqiZ+xsWokU7dqtq8xhZ
FVhFPXbU/yl+DSGI/ViXUTiHUHvcskq0apXgSqyhXqLo10YB+Cxejd4c7ETiVeve
zn0p+ob4DEDD1ON9ZQyV4tCrNNlMaLL27gN9QIl6xwG9m5wmfgDRwm5+7IFmCDS4
U/7aQzwgzGSCiqAKPvL7OFA3g1KIL1DRm89quV6EKCanoplitrL/kOSpCivhixm6
po5MdHjoGyde4CEcAwWnALBJRM3D0+cPNXyR1SWwf/xy7d0WfZESPToHifWfl5k/
xOPMYOwj/tpaL0mPfNd54H1h1aLpYshBZa1isGmGbcSQbl9NU0E=
=e8ms
-----END PGP SIGNATURE-----
diff --git a/cmd/nixgen/main.go b/cmd/nixgen/main.go
index 907f1720ee6f38301053c0abdba89e73063705ab..c76bc456d59f37bb2d34dfc0733644899d85ec50 100644
--- a/cmd/nixgen/main.go
+++ b/cmd/nixgen/main.go
@@ -32,7 +32,7 @@ return fmt.Errorf("unknown format %q, should be one of [json yaml toml]", s)
}
return nil
}
- fs.Func("format", "Output format", formatFunc)
+ fs.Func("format", "Output format [json, yaml, toml]: default 'json'", formatFunc)
fs.Func("f", "--format", formatFunc)
if err := fs.Parse(os.Args[1:]); err != nil {
return err