Browse Source

Merge pull request #4736 from heyitsanthony/fix-setdir-help

etcdctl: clarify setdir purpose in help message
Anthony Romano 9 years ago
parent
commit
a243f80c80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdctl/command/set_dir_command.go

+ 1 - 1
etcdctl/command/set_dir_command.go

@@ -23,7 +23,7 @@ import (
 func NewSetDirCommand() cli.Command {
 func NewSetDirCommand() cli.Command {
 	return cli.Command{
 	return cli.Command{
 		Name:      "setdir",
 		Name:      "setdir",
-		Usage:     "create a new or existing directory",
+		Usage:     "create a new directory or update an existing directory TTL",
 		ArgsUsage: "<key>",
 		ArgsUsage: "<key>",
 		Flags: []cli.Flag{
 		Flags: []cli.Flag{
 			cli.IntFlag{Name: "ttl", Value: 0, Usage: "key time-to-live"},
 			cli.IntFlag{Name: "ttl", Value: 0, Usage: "key time-to-live"},