X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-fast-export.c;h=fdf4ae9ebdba7832a0ac736d56a7b564bba41baa;hb=3f74c8e8d8721d093655d7bb00ead078d8324100;hp=cdb7df5efeec9bbe6ec4ef4ab380403ea662bb12;hpb=784f8affe4dfc8ceec93803d6c22b4b8467a4642;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);