frame: fix command option and add `toggle` option