Code

Merge branch 'tr/maint-1.6.1-doc-format-patch--root' into maint-1.6.1
[git.git] / builtin-fast-export.c
index cdb7df5efeec9bbe6ec4ef4ab380403ea662bb12..fdf4ae9ebdba7832a0ac736d56a7b564bba41baa 100644 (file)
@@ -497,6 +497,9 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix)
                OPT_END()
        };
 
+       if (argc == 1)
+               usage_with_options (fast_export_usage, options);
+
        /* we handle encodings */
        git_config(git_default_config, NULL);