Commit Diff


commit - b2070a3f25a75399baa9a402542a60326197a053
commit + 907f15e2ba2d03054c9874679545a34a13ab5b41
blob - a10c0e212fc2d7195e321950605e7a96f3f8c95a
blob + 4d43cd4623f5007141f69307e04ca1e97cbc558a
--- got/got.c
+++ got/got.c
@@ -4335,17 +4335,17 @@ cmd_ref(int argc, char *argv[])
 	}
 
 	if (obj_arg && do_list)
-		errx(1, "-c and -l options are mutually exclusive\n");
+		errx(1, "-c and -l options are mutually exclusive");
 	if (obj_arg && do_delete)
-		errx(1, "-c and -d options are mutually exclusive\n");
-	if (obj_arg && symref_target)
-		errx(1, "-c and -s options are mutually exclusive\n");
+		errx(1, "-c and -d options are mutually exclusive");
+	if (obj_arg && symref_target)
+		errx(1, "-c and -s options are mutually exclusive");
 	if (symref_target && do_delete)
-		errx(1, "-s and -d options are mutually exclusive\n");
+		errx(1, "-s and -d options are mutually exclusive");
 	if (symref_target && do_list)
-		errx(1, "-s and -l options are mutually exclusive\n");
+		errx(1, "-s and -l options are mutually exclusive");
 	if (do_delete && do_list)
-		errx(1, "-d and -l options are mutually exclusive\n");
+		errx(1, "-d and -l options are mutually exclusive");
 
 	argc -= optind;
 	argv += optind;
@@ -4671,7 +4671,7 @@ cmd_branch(int argc, char *argv[])
 	}
 
 	if (do_list && delref)
-		errx(1, "-l and -d options are mutually exclusive\n");
+		errx(1, "-l and -d options are mutually exclusive");
 
 	argc -= optind;
 	argv += optind;