- # SIMAN launch mode
- help_str = "Special mode for interacting with SIMAN."
- o_siman = optparse.Option("--siman",
- action="store_true",
- dest="siman",
- help=help_str)
-
- # SIMAN study
- help_str = "SIMAN study identifier."
- o_siman_study = optparse.Option("--siman-study",
- metavar="<id>",
- type="string",
- action="store",
- dest="siman_study",
- help=help_str)
-
- # SIMAN scenario
- help_str = "SIMAN scenario identifier."
- o_siman_scenario = optparse.Option("--siman-scenario",
- metavar="<id>",
- type="string",
- action="store",
- dest="siman_scenario",
- help=help_str)
-
- # SIMAN user
- help_str = "SIMAN user identifier."
- o_siman_user = optparse.Option("--siman-user",
- metavar="<id>",
- type="string",
- action="store",
- dest="siman_user",
- help=help_str)
+ help_str = "Force application language. By default, a language specified in "
+ help_str += "the user's preferences is used."
+ o_lang = optparse.Option("-a",
+ "--language",
+ action="store",
+ dest="language",
+ help=help_str)