@@ -373,7 +373,7 @@ static int list(int argc, const char **argv, const char *prefix)
373373 git_notes_list_usage , 0 );
374374
375375 if (1 < argc ) {
376- error (_ ("too many parameters " ));
376+ error (_ ("too many arguments " ));
377377 usage_with_options (git_notes_list_usage , options );
378378 }
379379
@@ -428,7 +428,7 @@ static int add(int argc, const char **argv, const char *prefix)
428428 PARSE_OPT_KEEP_ARGV0 );
429429
430430 if (2 < argc ) {
431- error (_ ("too many parameters " ));
431+ error (_ ("too many arguments " ));
432432 usage_with_options (git_notes_add_usage , options );
433433 }
434434
@@ -506,19 +506,19 @@ static int copy(int argc, const char **argv, const char *prefix)
506506
507507 if (from_stdin || rewrite_cmd ) {
508508 if (argc ) {
509- error (_ ("too many parameters " ));
509+ error (_ ("too many arguments " ));
510510 usage_with_options (git_notes_copy_usage , options );
511511 } else {
512512 return notes_copy_from_stdin (force , rewrite_cmd );
513513 }
514514 }
515515
516516 if (argc < 1 ) {
517- error (_ ("too few parameters " ));
517+ error (_ ("too few arguments " ));
518518 usage_with_options (git_notes_copy_usage , options );
519519 }
520520 if (2 < argc ) {
521- error (_ ("too many parameters " ));
521+ error (_ ("too many arguments " ));
522522 usage_with_options (git_notes_copy_usage , options );
523523 }
524524
@@ -595,7 +595,7 @@ static int append_edit(int argc, const char **argv, const char *prefix)
595595 PARSE_OPT_KEEP_ARGV0 );
596596
597597 if (2 < argc ) {
598- error (_ ("too many parameters " ));
598+ error (_ ("too many arguments " ));
599599 usage_with_options (usage , options );
600600 }
601601
@@ -662,7 +662,7 @@ static int show(int argc, const char **argv, const char *prefix)
662662 0 );
663663
664664 if (1 < argc ) {
665- error (_ ("too many parameters " ));
665+ error (_ ("too many arguments " ));
666666 usage_with_options (git_notes_show_usage , options );
667667 }
668668
@@ -812,7 +812,7 @@ static int merge(int argc, const char **argv, const char *prefix)
812812 error (_ ("must specify a notes ref to merge" ));
813813 usage_with_options (git_notes_merge_usage , options );
814814 } else if (!do_merge && argc ) {
815- error (_ ("too many parameters " ));
815+ error (_ ("too many arguments " ));
816816 usage_with_options (git_notes_merge_usage , options );
817817 }
818818
@@ -960,7 +960,7 @@ static int prune(int argc, const char **argv, const char *prefix)
960960 0 );
961961
962962 if (argc ) {
963- error (_ ("too many parameters " ));
963+ error (_ ("too many arguments " ));
964964 usage_with_options (git_notes_prune_usage , options );
965965 }
966966
@@ -982,7 +982,7 @@ static int get_ref(int argc, const char **argv, const char *prefix)
982982 git_notes_get_ref_usage , 0 );
983983
984984 if (argc ) {
985- error (_ ("too many parameters " ));
985+ error (_ ("too many arguments " ));
986986 usage_with_options (git_notes_get_ref_usage , options );
987987 }
988988
0 commit comments