.\" This file was pre-generated by help2man 1.47.1. .TH ETCDCTL "1" "September 2015" "etcdctl version 2.1.3" "User Commands" .SH NAME etcdctl \- command line client for etcd .SH SYNOPSIS etcdctl [global options] command [command options] [arguments...] .SH DESCRIPTION .SS "COMMANDS:" .TP backup backup an etcd directory .TP cluster\-health check the health of the etcd cluster .TP mk make a new key with a given value .TP mkdir make a new directory .TP rm remove a key .TP rmdir removes the key if it is an empty directory or a key\-value pair .TP get retrieve the value of a key .TP ls retrieve a directory .TP set set the value of a key .TP setdir create a new or existing directory .TP update update an existing key with a given value .TP updatedir update an existing directory .TP watch watch a key for changes .TP exec\-watch watch a key for changes and exec an executable .TP member member add, remove and list subcommands .TP import import a snapshot to a cluster .TP user user add, grant and revoke subcommands .TP role role add, grant and revoke subcommands .TP auth overall auth controls .TP help, h Shows a list of commands or help for one command .SS "GLOBAL OPTIONS:" .TP \fB\-\-debug\fR output cURL commands which can be used to reproduce the request .TP \fB\-\-no\-sync\fR don't synchronize cluster information before sending request .TP \fB\-\-output\fR, \fB\-o\fR "simple" output response in the given format (`simple`, `extended` or `json`) .TP \fB\-\-peers\fR, \fB\-C\fR a comma\-delimited list of machine addresses in the cluster (default: "127.0.0.1:4001,127.0.0.1:2379") .TP \fB\-\-cert\-file\fR identify HTTPS client using this SSL certificate file .TP \fB\-\-key\-file\fR identify HTTPS client using this SSL key file .TP \fB\-\-ca\-file\fR verify certificates of HTTPS\-enabled servers using this CA bundle .TP \fB\-\-username\fR, \fB\-u\fR provide username[:password] and prompt if password is not supplied. .TP \fB\-\-help\fR, \fB\-h\fR show help .TP \fB\-\-version\fR, \fB\-v\fR print the version