1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/cmd/cfg/main.go b/cmd/cfg/main.go
index 309044d0ceb659bf65d114f7659cb0b1272a59ab..89c972ec0ad24c23e602800d761a96b426a30b76 100644
--- a/cmd/cfg/main.go
+++ b/cmd/cfg/main.go
@@ -24,7 +24,7 @@ }
unmarshal = e.Unmarshal
return nil
}
- fs.Func("from", "The format to convert from [json(c), jsonnet, yaml, toml, nix, dhall, kdl]", fromFunc)
+ fs.Func("from", "The format to convert from [json(c), jsonnet, yaml, toml, nix, dhall, kdl, cue]", fromFunc)
fs.Func("f", "--from", fromFunc)
toFunc := func(s string) error {
e, err := cfg.ParseEncoding(s)
@@ -34,7 +34,7 @@ }
marshal = e.Marshal
return nil
}
- fs.Func("to", "The format to convert to [json, yaml, toml, nix, kdl]", toFunc)
+ fs.Func("to", "The format to convert to [json, yaml, toml, nix, kdl, cue]", toFunc)
fs.Func("t", "--to", toFunc)
if err := fs.Parse(os.Args[1:]); err != nil {
return err
|