Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2017 18:06:41 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326099 - head/usr.bin/iscsictl
Message-ID:  <201711221806.vAMI6fCx008377@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising (doc,ports committer)
Date: Wed Nov 22 18:06:41 2017
New Revision: 326099
URL: https://svnweb.freebsd.org/changeset/base/326099

Log:
  Fix language in a bunch of error messages.
  
  Reviewed by:		emaste
  Approved by:		emaste
  MFC after:		1 month
  Differential Revision:	D13193

Modified:
  head/usr.bin/iscsictl/iscsictl.c

Modified: head/usr.bin/iscsictl/iscsictl.c
==============================================================================
--- head/usr.bin/iscsictl/iscsictl.c	Wed Nov 22 16:45:27 2017	(r326098)
+++ head/usr.bin/iscsictl/iscsictl.c	Wed Nov 22 18:06:41 2017	(r326099)
@@ -813,41 +813,41 @@ main(int argc, char **argv)
 	if (Aflag != 0) {
 		if (aflag != 0) {
 			if (enable != ENABLE_UNSPECIFIED)
-				xo_errx(1, "-a and -e and mutually exclusive");
+				xo_errx(1, "-a and -e are mutually exclusive");
 			if (portal != NULL)
-				xo_errx(1, "-a and -p and mutually exclusive");
+				xo_errx(1, "-a and -p are mutually exclusive");
 			if (target != NULL)
-				xo_errx(1, "-a and -t and mutually exclusive");
+				xo_errx(1, "-a and -t are mutually exclusive");
 			if (user != NULL)
-				xo_errx(1, "-a and -u and mutually exclusive");
+				xo_errx(1, "-a and -u are mutually exclusive");
 			if (secret != NULL)
-				xo_errx(1, "-a and -s and mutually exclusive");
+				xo_errx(1, "-a and -s are mutually exclusive");
 			if (nickname != NULL)
-				xo_errx(1, "-a and -n and mutually exclusive");
+				xo_errx(1, "-a and -n are mutually exclusive");
 			if (discovery_host != NULL)
-				xo_errx(1, "-a and -d and mutually exclusive");
+				xo_errx(1, "-a and -d are mutually exclusive");
 			if (rflag != 0)
-				xo_errx(1, "-a and -r and mutually exclusive");
+				xo_errx(1, "-a and -r are mutually exclusive");
 		} else if (nickname != NULL) {
 			if (enable != ENABLE_UNSPECIFIED)
-				xo_errx(1, "-n and -e and mutually exclusive");
+				xo_errx(1, "-n and -e are mutually exclusive");
 			if (portal != NULL)
-				xo_errx(1, "-n and -p and mutually exclusive");
+				xo_errx(1, "-n and -p are mutually exclusive");
 			if (target != NULL)
-				xo_errx(1, "-n and -t and mutually exclusive");
+				xo_errx(1, "-n and -t are mutually exclusive");
 			if (user != NULL)
-				xo_errx(1, "-n and -u and mutually exclusive");
+				xo_errx(1, "-n and -u are mutually exclusive");
 			if (secret != NULL)
-				xo_errx(1, "-n and -s and mutually exclusive");
+				xo_errx(1, "-n and -s are mutually exclusive");
 			if (discovery_host != NULL)
-				xo_errx(1, "-n and -d and mutually exclusive");
+				xo_errx(1, "-n and -d are mutually exclusive");
 			if (rflag != 0)
-				xo_errx(1, "-n and -r and mutually exclusive");
+				xo_errx(1, "-n and -r are mutually exclusive");
 		} else if (discovery_host != NULL) {
 			if (portal != NULL)
-				xo_errx(1, "-d and -p and mutually exclusive");
+				xo_errx(1, "-d and -p are mutually exclusive");
 			if (target != NULL)
-				xo_errx(1, "-d and -t and mutually exclusive");
+				xo_errx(1, "-d and -t are mutually exclusive");
 		} else {
 			if (target == NULL && portal == NULL)
 				xo_errx(1, "must specify -a, -n or -t/-p");
@@ -874,15 +874,15 @@ main(int argc, char **argv)
 
 		if (nickname != NULL) {
 			if (enable != ENABLE_UNSPECIFIED)
-				xo_errx(1, "-n and -e and mutually exclusive");
+				xo_errx(1, "-n and -e are mutually exclusive");
 			if (portal != NULL)
-				xo_errx(1, "-n and -p and mutually exclusive");
+				xo_errx(1, "-n and -p are mutually exclusive");
 			if (target != NULL)
-				xo_errx(1, "-n and -t and mutually exclusive");
+				xo_errx(1, "-n and -t are mutually exclusive");
 			if (user != NULL)
-				xo_errx(1, "-n and -u and mutually exclusive");
+				xo_errx(1, "-n and -u are mutually exclusive");
 			if (secret != NULL)
-				xo_errx(1, "-n and -s and mutually exclusive");
+				xo_errx(1, "-n and -s are mutually exclusive");
 		}
 
 		if (aflag != 0)
@@ -899,16 +899,16 @@ main(int argc, char **argv)
 	} else if (Rflag != 0) {
 		if (aflag != 0) {
 			if (portal != NULL)
-				xo_errx(1, "-a and -p and mutually exclusive");
+				xo_errx(1, "-a and -p are mutually exclusive");
 			if (target != NULL)
-				xo_errx(1, "-a and -t and mutually exclusive");
+				xo_errx(1, "-a and -t are mutually exclusive");
 			if (nickname != NULL)
-				xo_errx(1, "-a and -n and mutually exclusive");
+				xo_errx(1, "-a and -n are mutually exclusive");
 		} else if (nickname != NULL) {
 			if (portal != NULL)
-				xo_errx(1, "-n and -p and mutually exclusive");
+				xo_errx(1, "-n and -p are mutually exclusive");
 			if (target != NULL)
-				xo_errx(1, "-n and -t and mutually exclusive");
+				xo_errx(1, "-n and -t are mutually exclusive");
 		} else if (target == NULL && portal == NULL) {
 			xo_errx(1, "must specify either -a, -n, -t, or -p");
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711221806.vAMI6fCx008377>