فهرست منبع

Merge pull request #199 from zined/update_documentation

adopt documentation to implementation
Xiang Li 12 سال پیش
والد
کامیت
c988b1e5b0
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -534,10 +534,10 @@ etcd uses [semantic versioning][semver].
 When we release v1.0.0 of etcd we will promise not to break the "v1" REST API.
 When we release v1.0.0 of etcd we will promise not to break the "v1" REST API.
 New minor versions may add additional features to the API however.
 New minor versions may add additional features to the API however.
 
 
-You can get the version of etcd by requesting the root path of etcd:
+You can get the version of etcd by issuing a request to /version:
 
 
 ```sh
 ```sh
-curl -L http://127.0.0.1:4001
+curl -L http://127.0.0.1:4001/version
 ```
 ```
 
 
 During the v0 series of releases we may break the API as we fix bugs and get feedback.
 During the v0 series of releases we may break the API as we fix bugs and get feedback.