aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_init.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-31 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-31 20:20:20 +0100
commitd6162141a3d34e594816d657ed36c1b7ddb48eeb (patch)
tree94cf3ceacf6f03cc6289c3c3ba994264a588a3c6 /src/c_init.go
parentway better roadmap (diff)
downloadhardflip-d6162141a3d34e594816d657ed36c1b7ddb48eeb.tar.gz
hardflip-d6162141a3d34e594816d657ed36c1b7ddb48eeb.tar.bz2
hardflip-d6162141a3d34e594816d657ed36c1b7ddb48eeb.tar.xz
hardflip-d6162141a3d34e594816d657ed36c1b7ddb48eeb.tar.zst
hardflip-d6162141a3d34e594816d657ed36c1b7ddb48eeb.zip
good start
Diffstat (limited to '')
-rw-r--r--src/c_init.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/c_init.go b/src/c_init.go
index 5c9f115..8981099 100644
--- a/src/c_init.go
+++ b/src/c_init.go
@@ -59,6 +59,7 @@ import (
type HardOpts struct {
Icon bool
Loop bool
+ GPG string
Perc bool
Term string
}
@@ -89,7 +90,7 @@ func c_recurse_data_dir(dir, root string, opts HardOpts,
c_recurse_data_dir(dir + filename + "/", root, opts, ldirs,
file.Name(), &dir_node, depth + 1, ui, load_err)
} else if filepath.Ext(filename) == ".yml" {
- host_node, err := c_read_yaml_file(root + dir + filename, ui)
+ host_node, err := c_read_yaml_file(root + dir + filename, opts, ui)
if err != nil {
*load_err = append(*load_err, err)
} else if host_node != nil {