Commit dcfdbdf0 authored by Miklos Vajna's avatar Miklos Vajna Committed by Junio C Hamano

fast-export: print usage when no options specified

Signed-off-by: default avatarMiklos Vajna <vmiklos@frugalware.org>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent d99bf51a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment