Can something that the user sets on the command line determine whether a menu item is enabled? Info on this here.