remove redundant \n from errx() calls in got.c
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
diff --git a/got/got.c b/got/got.c
index a10c0e2..4d43cd4 100644
--- a/got/got.c
+++ b/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");
+ errx(1, "-c and -d options are mutually exclusive");
if (obj_arg && symref_target)
- errx(1, "-c and -s options are mutually exclusive\n");
+ 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;