From: Miklos Vajna Date: Sat, 3 Jan 2009 03:59:12 +0000 (+0100) Subject: fast-export: print usage when no options specified X-Git-Tag: v1.6.1.1~34 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dcfdbdf08bbe102bd4806f3c92fb0e43f53a623a;p=git.git fast-export: print usage when no options specified Signed-off-by: Miklos Vajna Signed-off-by: Junio C Hamano --- diff --git a/builtin-fast-export.c b/builtin-fast-export.c index 838633808..e9ee2c79a 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);