Time dependent boolean options accept true or false values that optionally vary in time. When the switch is set without an equals, it sets the option to true.

Option turned on
--switch

If the switch contains an equals, the value controls the enabled state of the option.

Enabled values
  • Any non-zero integer

  • The word on

  • The word yes

  • The word true

Disabled values
  • The integer zero

  • The word off

  • The word no

  • The word false

That is, the option can be toggled by setting it to integers (with zero being off), by setting it to "yes" or "no", or by setting it to "true" or "false". The word specifications are not case sensitive.

Option explicitly turned on
--switch=1
--switch=on
--switch=yes
--switch=TRUE
Option explicitly turned off
--switch=0
--switch=off
--switch=NO
--switch=false

If the option contains a / then it is treated as time dependent. In this context the value is split into fields separated by , with the first field being the interval and all further ones specifying the time range. This means that the truth value in the first field is the value for the time range specified in subsequent ones.

Time dependency
--switch=true,,2016:10/false,2016:10