esv: revise comments

This commit is contained in:
Jeremy Baxter 2024-06-25 16:19:57 +12:00
parent 36c520e00f
commit 1ba023122a

9
esv.d
View file

@ -121,9 +121,8 @@ main(string[] args)
enforceDie(verseValid(args[2]),
"invalid verse format '%s'", args[2]);
/* determine configuration file
* Options have first priority, then environment variables,
* then the default path */
/* determine configuration file: options take first priority,
* then environment variables, and then the default path */
config:
configPath = environment.get(cf.configEnv, cf.configPath).expandTilde();
try {
@ -183,9 +182,7 @@ key = %s
player ~ " is required for audio mode; cannot continue");
/* esv has built-in support for mpg123 and mpv.
* other players will work, just recompile with
* the DEFAULT_MPEGPLAYER enum set differently
* or use the ESV_PLAYER environment variable */
* Other players will work, just set ESV_PLAYER */
player ~=
player == "mpg123" ? " -q " :
player == "mpv" ? " --msg-level=all=no " : " ";