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 78047fc41c269ec9ef3407fa990bd3329fac3230..cf92c9bfb100c122f3e4c6c210a1874825293a05 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), yaml, toml, nix, dhall]", fromFunc)
+ fs.Func("from", "The format to convert from [json(c), yaml, toml, nix, dhall, kdl]", 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]", toFunc)
+ fs.Func("to", "The format to convert to [json, yaml, toml, nix, kdl]", toFunc)
fs.Func("t", "--to", toFunc)
if err := fs.Parse(os.Args[1:]); err != nil {
return err
|