summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin-fast-export.c3
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);