diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2009-01-03 06:59:12 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-04 01:24:15 +0300 |
commit | dcfdbdf08bbe102bd4806f3c92fb0e43f53a623a (patch) | |
tree | 2c6d20d7ed67f46cb221cad053cf2c419272ae50 | |
parent | d99bf51add655b749c5c7f94cecb337c7ef8aadb (diff) |
fast-export: print usage when no options specified
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | builtin-fast-export.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin-fast-export.c b/builtin-fast-export.c index 838633808c..e9ee2c79ac 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); |