diff options
-rw-r--r-- | doc/Makefile.inc | 2 | ||||
-rw-r--r-- | doc/eclat-assocaddr.1 | 2 | ||||
-rw-r--r-- | doc/eclat-lsaddr.1 | 2 | ||||
-rw-r--r-- | doc/eclat-mkaddr.1 (renamed from doc/eclat-allocaddr.1) | 10 | ||||
-rw-r--r-- | doc/eclat-rmaddr.1 | 4 | ||||
-rw-r--r-- | src/eclat.c | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/doc/Makefile.inc b/doc/Makefile.inc index 4e1dafc..0e619cd 100644 --- a/doc/Makefile.inc +++ b/doc/Makefile.inc @@ -20,7 +20,7 @@ MANPAGES1=\ eclat.1\ - eclat-allocaddr.1\ + eclat-mkaddr.1\ eclat-assocaddr.1\ eclat-atvol.1\ eclat-clrsattr.1\ diff --git a/doc/eclat-assocaddr.1 b/doc/eclat-assocaddr.1 index da22421..0e2aee0 100644 --- a/doc/eclat-assocaddr.1 +++ b/doc/eclat-assocaddr.1 @@ -72,7 +72,7 @@ Associate an IP address with an instance in the VPC: .fi .SH "SEE ALSO" .BR eclat (1), -.BR eclat\-allocaddr (1), +.BR eclat\-mkaddr (1), .BR eclat\-rmaddr (1), .BR eclat\-disassaddr (1). .SH AUTHORS diff --git a/doc/eclat-lsaddr.1 b/doc/eclat-lsaddr.1 index 3efd0d2..2b43959 100644 --- a/doc/eclat-lsaddr.1 +++ b/doc/eclat-lsaddr.1 @@ -74,7 +74,7 @@ standard 198.51.100.2 .fi .SH "SEE ALSO" .BR eclat (1), -.BR eclat\-allocaddr (1), +.BR eclat\-mkaddr (1), .BR eclat\-rmaddr (1), .BR eclat\-assocaddr (1), .BR eclat\-disassaddr (1). diff --git a/doc/eclat-allocaddr.1 b/doc/eclat-mkaddr.1 index 23abed6..427645d 100644 --- a/doc/eclat-allocaddr.1 +++ b/doc/eclat-mkaddr.1 @@ -13,16 +13,16 @@ .\" .\" You should have received a copy of the GNU General Public License .\" along with Eclat. If not, see <http://www.gnu.org/licenses/>. -.TH ALLOCADDR 1 "April 20, 2013" "ECLAT" "Eclat User Reference" +.TH MKADDR 1 "April 20, 2013" "ECLAT" "Eclat User Reference" .SH NAME -eclat allocaddr or allocate\-address \- allocate an Elastic IP address +eclat mkaddr or allocate\-address \- allocate an Elastic IP address .SH SYNOPSIS -\fBeclat allocaddr\fR [\fB\-v\fR] [\f\--vpc\fR] +\fBeclat mkaddr\fR [\fB\-v\fR] [\f\--vpc\fR] -\fBeclat allocaddr\fR \fB\-\-help\fR +\fBeclat mkaddr\fR \fB\-\-help\fR .SH DESCRIPTION The -.B allocaddr +.B mkaddr command allocates an Elastic IP address. It does not take arguments. .PP .SH OPTIONS diff --git a/doc/eclat-rmaddr.1 b/doc/eclat-rmaddr.1 index 8deb962..16aeb4f 100644 --- a/doc/eclat-rmaddr.1 +++ b/doc/eclat-rmaddr.1 @@ -23,7 +23,7 @@ eclat rmaddr, release\-address \- release Elastic IP address. .SH DESCRIPTION This command releases an Elastic IP address. The address must have been previously allocated using the -.B allocaddr +.B mkaddr command. .SH OPTIONS .TP @@ -63,7 +63,7 @@ Release the VPC Elastic IP: .fi .SH "SEE ALSO" .BR eclat (1), -.BR eclat\-allocaddr (1), +.BR eclat\-mkaddr (1), .BR eclat\-assocaddr (1), .BR eclat\-disassaddr (1). .SH AUTHORS diff --git a/src/eclat.c b/src/eclat.c index 7048fe5..5523f0d 100644 --- a/src/eclat.c +++ b/src/eclat.c @@ -92,7 +92,7 @@ struct eclat_command cmdtab[] = { eclat_describe_instances }, { "lsvol", "describe-volumes", "DescribeVolumes", eclat_describe_volumes }, - { "allocaddr", "allocate-address", "AllocateAddress", + { "mkaddr", "allocate-address", "AllocateAddress", eclat_allocate_address, CMD_MOD }, { "rmaddr", "release-address", "ReleaseAddress", eclat_release_address, CMD_MOD|CMD_DESTR }, |