X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-fast-export.c;h=fdf4ae9ebdba7832a0ac736d56a7b564bba41baa;hb=5b841d61c428bc8dbb9e3b5afd12781aff51eb2a;hp=cdb7df5efeec9bbe6ec4ef4ab380403ea662bb12;hpb=fa711bc1983efca058ef6af19ffa808690b21d8c;p=git.git diff --git a/builtin-fast-export.c b/builtin-fast-export.c index cdb7df5ef..fdf4ae9eb 100644 --- a/builtin-fast-export.c +++ b/builtin-fast-export.c @@ -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);