git-archive: add '-o' as a alias for '--output'
[gitweb.git] / builtin-archive.c
index f9a4bea41e95b9a34f190fc2b696c7394d0e0971..565314b04c1d53a851b4e158f6d6942cacbae50a 100644 (file)
@@ -71,7 +71,7 @@ int cmd_archive(int argc, const char **argv, const char *prefix)
        const char *output = NULL;
        const char *remote = NULL;
        struct option local_opts[] = {
-               OPT_STRING(0, "output", &output, "file",
+               OPT_STRING('o', "output", &output, "file",
                        "write the archive to this file"),
                OPT_STRING(0, "remote", &remote, "repo",
                        "retrieve the archive from remote repository <repo>"),