aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorEmily Shaffer <nasamuffin@google.com>2023-10-26 11:22:31 -0700
committerJunio C Hamano <gitster@pobox.com>2023-10-29 08:56:17 +0900
commit681c0a247bb6ec38ec9ac9ed745e2ef2c91f447d (patch)
tree76c556b82b12b2778e638eba41b86a1a44726815 /commit-graph.c
parentt0091-bugreport: stop using i18ngrep (diff)
downloadgit-681c0a247bb6ec38ec9ac9ed745e2ef2c91f447d.tar.gz
git-681c0a247bb6ec38ec9ac9ed745e2ef2c91f447d.zip
bugreport: reject positional arguments
git-bugreport already rejected unrecognized flag arguments, like `--diaggnose`, but this doesn't help if the user's mistake was to forget the `--` in front of the argument. This can result in a user's intended argument not being parsed with no indication to the user that something went wrong. Since git-bugreport presently doesn't take any positionals at all, let's reject all positionals and give the user a usage hint. Signed-off-by: Emily Shaffer <nasamuffin@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions