'Adds update-specific options to \'parser\'.
Args:
parser: An instance of OptionsParser.'

def _UpdateOptions(self, parser):

    parser.add_option('--no_precompilation', action='store_false', dest='precompilation', default=True, help='Disable    automatic    precompilation    (ignored    for    Go    apps).')
    parser.add_option('--backends', action='store_true', dest='backends', default=False, help='Update    backends    when    performing    appcfg    update.')
    parser.add_option('--no_usage_reporting', action='store_false', dest='usage_reporting', default=True, help='Disable    usage    reporting.')
    if JavaSupported():
        appcfg_java.AddUpdateOptions(parser)
