projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d99bf51
)
fast-export: print usage when no options specified
author
Miklos Vajna
<vmiklos@frugalware.org>
Sat, 3 Jan 2009 03:59:12 +0000
(
04:59
+0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 3 Jan 2009 22:24:15 +0000
(14:24 -0800)
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fast-export.c
patch
|
blob
|
history
diff --git
a/builtin-fast-export.c
b/builtin-fast-export.c
index 838633808c3eb4891919aa397716f04fcd4cfe24..e9ee2c79ac0395fde30de329d181733d7be88d40 100644
(file)
--- 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);