@@ -373,7 +373,7 @@ static int list(int argc, const char **argv, const char *prefix)
373
373
git_notes_list_usage , 0 );
374
374
375
375
if (1 < argc ) {
376
- error (_ ("too many parameters " ));
376
+ error (_ ("too many arguments " ));
377
377
usage_with_options (git_notes_list_usage , options );
378
378
}
379
379
@@ -428,7 +428,7 @@ static int add(int argc, const char **argv, const char *prefix)
428
428
PARSE_OPT_KEEP_ARGV0 );
429
429
430
430
if (2 < argc ) {
431
- error (_ ("too many parameters " ));
431
+ error (_ ("too many arguments " ));
432
432
usage_with_options (git_notes_add_usage , options );
433
433
}
434
434
@@ -506,19 +506,19 @@ static int copy(int argc, const char **argv, const char *prefix)
506
506
507
507
if (from_stdin || rewrite_cmd ) {
508
508
if (argc ) {
509
- error (_ ("too many parameters " ));
509
+ error (_ ("too many arguments " ));
510
510
usage_with_options (git_notes_copy_usage , options );
511
511
} else {
512
512
return notes_copy_from_stdin (force , rewrite_cmd );
513
513
}
514
514
}
515
515
516
516
if (argc < 1 ) {
517
- error (_ ("too few parameters " ));
517
+ error (_ ("too few arguments " ));
518
518
usage_with_options (git_notes_copy_usage , options );
519
519
}
520
520
if (2 < argc ) {
521
- error (_ ("too many parameters " ));
521
+ error (_ ("too many arguments " ));
522
522
usage_with_options (git_notes_copy_usage , options );
523
523
}
524
524
@@ -595,7 +595,7 @@ static int append_edit(int argc, const char **argv, const char *prefix)
595
595
PARSE_OPT_KEEP_ARGV0 );
596
596
597
597
if (2 < argc ) {
598
- error (_ ("too many parameters " ));
598
+ error (_ ("too many arguments " ));
599
599
usage_with_options (usage , options );
600
600
}
601
601
@@ -662,7 +662,7 @@ static int show(int argc, const char **argv, const char *prefix)
662
662
0 );
663
663
664
664
if (1 < argc ) {
665
- error (_ ("too many parameters " ));
665
+ error (_ ("too many arguments " ));
666
666
usage_with_options (git_notes_show_usage , options );
667
667
}
668
668
@@ -812,7 +812,7 @@ static int merge(int argc, const char **argv, const char *prefix)
812
812
error (_ ("must specify a notes ref to merge" ));
813
813
usage_with_options (git_notes_merge_usage , options );
814
814
} else if (!do_merge && argc ) {
815
- error (_ ("too many parameters " ));
815
+ error (_ ("too many arguments " ));
816
816
usage_with_options (git_notes_merge_usage , options );
817
817
}
818
818
@@ -960,7 +960,7 @@ static int prune(int argc, const char **argv, const char *prefix)
960
960
0 );
961
961
962
962
if (argc ) {
963
- error (_ ("too many parameters " ));
963
+ error (_ ("too many arguments " ));
964
964
usage_with_options (git_notes_prune_usage , options );
965
965
}
966
966
@@ -982,7 +982,7 @@ static int get_ref(int argc, const char **argv, const char *prefix)
982
982
git_notes_get_ref_usage , 0 );
983
983
984
984
if (argc ) {
985
- error (_ ("too many parameters " ));
985
+ error (_ ("too many arguments " ));
986
986
usage_with_options (git_notes_get_ref_usage , options );
987
987
}
988
988
0 commit comments