From dcfdbdf08bbe102bd4806f3c92fb0e43f53a623a Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sat, 3 Jan 2009 04:59:12 +0100 Subject: [PATCH] fast-export: print usage when no options specified Signed-off-by: Miklos Vajna Signed-off-by: Junio C Hamano --- builtin-fast-export.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.30.2