diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-02-02 14:53:19 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-02-02 15:12:25 +0200 |
commit | 4a72c67c34b1c5b348e61ab900fb0b64305b9f97 (patch) | |
tree | bd3c91c42a14ac50f2406ba8153b04d2099cd9ab /doc | |
parent | f9536d8285625d4263c5b2dd0ab2a6773dd2b618 (diff) | |
download | eclat-4a72c67c34b1c5b348e61ab900fb0b64305b9f97.tar.gz eclat-4a72c67c34b1c5b348e61ab900fb0b64305b9f97.tar.bz2 |
New options: --check-permissions and --add-parameter
* NEWS: Update.
* doc/eclat-stop.1: Update.
* doc/eclat.1man: Update.
* etc/default.fln: Special handling for DryRunOperation
and UnauthorizedOperation codes.
* lib/paramlist.c: New file.
* lib/Makefile.am (libeclat_a_SOURCES): Add paramlist.c
* lib/forlan.c: New function dequote.
* lib/libeclat.h (eclat_request_add_param0)
(ec2_param_free, ec2_param_list_create)
(ec2_param_list_append)
(eclat_request_add_param_list): New protos.
* lib/reqcreat.c (ec2_param_free): Remove static qualifier.
* src/stop-cl.opt: New file.
* src/Makefile.am (OPTFILES): Add stop-cl.opt
* src/cmdline.opt: New options: --check-permissions and --add-parameter.
* src/eclat.c (extra_param): New global.
(find_format): print error message if no such format is found.
* src/startstop.c (eclat_stop_instance): Use parse_stop_options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/eclat-stop.1 | 8 | ||||
-rw-r--r-- | doc/eclat.1man | 10 |
2 files changed, 15 insertions, 3 deletions
diff --git a/doc/eclat-stop.1 b/doc/eclat-stop.1 index 5adbe61..a8f61a8 100644 --- a/doc/eclat-stop.1 +++ b/doc/eclat-stop.1 @@ -13,17 +13,21 @@ .\" .\" You should have received a copy of the GNU General Public License .\" along with Eclat. If not, see <http://www.gnu.org/licenses/>. -.TH ECLAT-STOP 1 "January 26, 2015" "ECLAT" "Eclat User Reference" +.TH ECLAT-STOP 1 "February 2, 2015" "ECLAT" "Eclat User Reference" .SH NAME eclat-stop, eclat-stop-instances \- stop EC2 instances .SH SYNOPSIS -\fBeclat stop\fR \fIID\fR [\fIID\fR...] +\fBeclat stop\fR [\fB\-f\fR] [\fB\-\-force\fR] \fIID\fR [\fIID\fR...] .PP \fBeclat stop\fR \fB\-\-help\fR .SH DESCRIPTION The command .B stop stops running Amazon EBS-backed instances. +.SH OPTIONS +.TP +\fB\-f\fR, \fB\-\-force\fR +Forcibly stop the instance. .SH OUTPUT The default output format lists on each line the instance ID, its previous and current states, separated by single horizontal tab diff --git a/doc/eclat.1man b/doc/eclat.1man index 50cc3e2..829bec6 100644 --- a/doc/eclat.1man +++ b/doc/eclat.1man @@ -13,7 +13,7 @@ .\" .\" You should have received a copy of the GNU General Public License .\" along with Eclat. If not, see <http://www.gnu.org/licenses/>. -.TH ECLAT 1 "January 21, 2015" "ECLAT" "Eclat User Reference" +.TH ECLAT 1 "February 2, 2015" "ECLAT" "Eclat User Reference" .SH NAME eclat \- EC2 Command Line Administrator Tool .SH SYNOPSIS @@ -466,6 +466,14 @@ Dump configuration grammar traces. .TP \fB\-\-dump\-lex\-trace\fR Dump lexical analyzer traces. +.TP +\fB\-p\fR, \fB\-\-check\-permissions\fR +Check if you have the required permissions for the action, without +actually making the request. This is equivalent to +\fB\-\-add\-parameter=DryRun=true\fR. +.TP +\fB\-A\fR, \fB\-\-add\-parameter=\fINAME\fB=\fIVALUE\fR +Add parameter to the AWS request. .SS Help and additional information .TP \fB\-\-config\-help |