Merge branch 'bc/submodule-status-ignored'
[gitweb.git] / builtin / update-ref.c
index 894f16bc59248f4c642228781a3b12bc1a82e54f..702e90db2a82a0eba2ff233b9ec46690da5afc3e 100644 (file)
@@ -252,11 +252,11 @@ int cmd_update_ref(int argc, const char **argv, const char *prefix)
        int delete = 0, no_deref = 0, read_stdin = 0, end_null = 0, flags = 0;
        struct option options[] = {
                OPT_STRING( 'm', NULL, &msg, N_("reason"), N_("reason of the update")),
-               OPT_BOOLEAN('d', NULL, &delete, N_("delete the reference")),
-               OPT_BOOLEAN('z', NULL, &end_null, N_("stdin has NUL-terminated arguments")),
-               OPT_BOOLEAN( 0 , "no-deref", &no_deref,
+               OPT_BOOL('d', NULL, &delete, N_("delete the reference")),
+               OPT_BOOL( 0 , "no-deref", &no_deref,
                                        N_("update <refname> not the one it points to")),
-               OPT_BOOLEAN( 0 , "stdin", &read_stdin, N_("read updates from stdin")),
+               OPT_BOOL('z', NULL, &end_null, N_("stdin has NUL-terminated arguments")),
+               OPT_BOOL( 0 , "stdin", &read_stdin, N_("read updates from stdin")),
                OPT_END(),
        };