summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/stash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/stash.c b/builtin/stash.c
index fb1e466e5d..6da736d718 100644
--- a/builtin/stash.c
+++ b/builtin/stash.c
@@ -1683,6 +1683,7 @@ static int push_stash(int argc, const char **argv, const char *prefix,
if (argc) {
force_assume = !strcmp(argv[0], "-p");
argc = parse_options(argc, argv, prefix, options,
+ push_assumed ? git_stash_usage :
git_stash_push_usage,
PARSE_OPT_KEEP_DASHDASH);
}