The documentation for -hold in the man page doesn't match the implementation, and the implementation has an ominous comment.
-hold is documented as a boolean on the man page, but in src/xdefaults.c it's declared as a STRG. The code in src/init.c which refers to it recognizes "yes", "true", or "on" (case-insensitive) as possible values (see line 1455ff.), but the comment says "Backward compatibility hack". So I can't tell if your intention is to implement it as a BOOL or as a STRG.
In any case, "-hold yes" works on the command line; "-hold" does not, and furthermore does not complain about a missing argument.
Log in to post a comment.