From 1daa323e8b8dfd1bf9509cdf8a8740328a580862 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 26 Mar 2014 17:58:30 -0700 Subject: [PATCH] Change remaining command line arguments --initiator_name to --initiator-name Change the remaining instances to match the manpages and help texts --- examples/iscsi-dd.c | 2 +- utils/iscsi-inq.c | 2 +- utils/iscsi-ls.c | 2 +- utils/iscsi-readcapacity16.c | 2 +- utils/iscsi-swp.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/iscsi-dd.c b/examples/iscsi-dd.c index 5caa90e..1110245 100644 --- a/examples/iscsi-dd.c +++ b/examples/iscsi-dd.c @@ -154,7 +154,7 @@ int main(int argc, char *argv[]) static struct option long_options[] = { {"dst", required_argument, NULL, 'd'}, {"src", required_argument, NULL, 's'}, - {"initiator_name", required_argument, NULL, 'i'}, + {"initiator-name", required_argument, NULL, 'i'}, {0, 0, 0, 0} }; int option_index; diff --git a/utils/iscsi-inq.c b/utils/iscsi-inq.c index ebc6e62..638beb0 100644 --- a/utils/iscsi-inq.c +++ b/utils/iscsi-inq.c @@ -245,7 +245,7 @@ int main(int argc, char *argv[]) {"help", no_argument, NULL, 'h'}, {"usage", no_argument, NULL, 'u'}, {"debug", no_argument, NULL, 'd'}, - {"initiator_name", required_argument, NULL, 'i'}, + {"initiator-name", required_argument, NULL, 'i'}, {"evpd", required_argument, NULL, 'e'}, {"pagecode", required_argument, NULL, 'c'}, {0, 0, 0, 0} diff --git a/utils/iscsi-ls.c b/utils/iscsi-ls.c index 515eba4..abdd4cc 100644 --- a/utils/iscsi-ls.c +++ b/utils/iscsi-ls.c @@ -345,7 +345,7 @@ int main(int argc, char *argv[]) {"debug", no_argument, NULL, 'd'}, {"show-luns", no_argument, NULL, 's'}, {"url", no_argument, NULL, 'U'}, - {"initiator_name", required_argument, NULL, 'i'}, + {"initiator-name", required_argument, NULL, 'i'}, {0, 0, 0, 0} }; int option_index; diff --git a/utils/iscsi-readcapacity16.c b/utils/iscsi-readcapacity16.c index 7a2adf7..0a51a6f 100644 --- a/utils/iscsi-readcapacity16.c +++ b/utils/iscsi-readcapacity16.c @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) {"usage", no_argument, NULL, 'u'}, {"debug", no_argument, NULL, 'd'}, {"size", no_argument, NULL, 's'}, - {"initiator_name", required_argument, NULL, 'i'}, + {"initiator-name", required_argument, NULL, 'i'}, {"evpd", required_argument, NULL, 'e'}, {"pagecode", required_argument, NULL, 'c'}, {0, 0, 0, 0} diff --git a/utils/iscsi-swp.c b/utils/iscsi-swp.c index 0a47bb3..badc32e 100644 --- a/utils/iscsi-swp.c +++ b/utils/iscsi-swp.c @@ -80,7 +80,7 @@ int main(int argc, char *argv[]) {"help", no_argument, NULL, 'h'}, {"usage", no_argument, NULL, 'u'}, {"debug", no_argument, NULL, 'd'}, - {"initiator_name", required_argument, NULL, 'i'}, + {"initiator-name", required_argument, NULL, 'i'}, {"swp", required_argument, NULL, 's'}, {0, 0, 0, 0} };