vyos.opmode.run generates CLI options from function arguments. Function argument names in Python cannot contain hyphens so we use underscores. CLI options, however, are expected to contain hyphens. Since we don't change arguments when we generate options from them, scripts can end up with odd-looking options like --foo_bar.
I believe it's better to make options look like they usuall do in UNIX-like systems and replace all underscores with hyphens.