aboutsummaryrefslogtreecommitdiffstats
path: root/src/p_options.go
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-04 16:48:32 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-04 16:48:32 +0200
commitcd85d6ee15f0cdbf837c4faf340abc398c942877 (patch)
treecd0f66caba4b34cbd8c76ca98b61e961908cc580 /src/p_options.go
parentCaps ffs (diff)
downloadgo2work-cd85d6ee15f0cdbf837c4faf340abc398c942877.tar.gz
go2work-cd85d6ee15f0cdbf837c4faf340abc398c942877.tar.bz2
go2work-cd85d6ee15f0cdbf837c4faf340abc398c942877.tar.xz
go2work-cd85d6ee15f0cdbf837c4faf340abc398c942877.tar.zst
go2work-cd85d6ee15f0cdbf837c4faf340abc398c942877.zip
Test
Diffstat (limited to 'src/p_options.go')
-rw-r--r--src/p_options.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p_options.go b/src/p_options.go
index 2e03e05..e155370 100644
--- a/src/p_options.go
+++ b/src/p_options.go
@@ -70,7 +70,7 @@ func init_def_options() Options {
Media_player: DEF_MEDIA_PLAYER,
Player_options: DEF_PLAYER_OPTIONS(),
Random: DEF_RANDOM,
- Use_fortune: DEF_USE_FORTUNE,
+ Fortune: DEF_FORTUNE,
}
return options
}
@@ -107,7 +107,7 @@ func parse_toml_file(options_file string, def_options Options) Options {
fmt.Println(options.Media_player)
fmt.Println(options.Player_options)
fmt.Println(options.Random)
- fmt.Println(options.Use_fortune)
+ fmt.Println(options.Fortune)
fmt.Println("=======\n")
return options
}