diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2009-01-03 04:59:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-03 14:24:15 -0800 |
commit | dcfdbdf08bbe102bd4806f3c92fb0e43f53a623a (patch) | |
tree | 2c6d20d7ed67f46cb221cad053cf2c419272ae50 /builtin-fast-export.c | |
parent | d99bf51add655b749c5c7f94cecb337c7ef8aadb (diff) | |
download | git-dcfdbdf08bbe102bd4806f3c92fb0e43f53a623a.tar.gz |
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>
Diffstat (limited to 'builtin-fast-export.c')
-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); |