提交 45beffc1 编写于 作者: D Daniel P. Berrangé

tools: fix misleading comments about command names

The srv-XXX commands were renamed to server-XXX, with the old
name being a undocumented back compat alias only.
Reviewed-by: NErik Skultety <eskultet@redhat.com>
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 4268e187
...@@ -315,9 +315,9 @@ cmdConnect(vshControl *ctl, const vshCmd *cmd) ...@@ -315,9 +315,9 @@ cmdConnect(vshControl *ctl, const vshCmd *cmd)
} }
/* --------------- /* -------------------
* Command srv-list * Command server-list
* --------------- * -------------------
*/ */
static const vshCmdInfo info_srv_list[] = { static const vshCmdInfo info_srv_list[] = {
...@@ -380,9 +380,9 @@ cmdSrvList(vshControl *ctl, const vshCmd *cmd G_GNUC_UNUSED) ...@@ -380,9 +380,9 @@ cmdSrvList(vshControl *ctl, const vshCmd *cmd G_GNUC_UNUSED)
} }
/* --------------------------- /* ------------------------------
* Command srv-threadpool-info * Command server-threadpool-info
* --------------------------- * ------------------------------
*/ */
static const vshCmdInfo info_srv_threadpool_info[] = { static const vshCmdInfo info_srv_threadpool_info[] = {
...@@ -441,9 +441,9 @@ cmdSrvThreadpoolInfo(vshControl *ctl, const vshCmd *cmd) ...@@ -441,9 +441,9 @@ cmdSrvThreadpoolInfo(vshControl *ctl, const vshCmd *cmd)
return ret; return ret;
} }
/* -------------------------- /* -----------------------------
* Command srv-threadpool-set * Command server-threadpool-set
* -------------------------- * -----------------------------
*/ */
static const vshCmdInfo info_srv_threadpool_set[] = { static const vshCmdInfo info_srv_threadpool_set[] = {
...@@ -550,9 +550,9 @@ cmdSrvThreadpoolSet(vshControl *ctl, const vshCmd *cmd) ...@@ -550,9 +550,9 @@ cmdSrvThreadpoolSet(vshControl *ctl, const vshCmd *cmd)
goto cleanup; goto cleanup;
} }
/* ------------------------ /* ---------------------------
* Command srv-clients-list * Command server-clients-list
* ------------------------ * ---------------------------
*/ */
static const vshCmdInfo info_srv_clients_list[] = { static const vshCmdInfo info_srv_clients_list[] = {
...@@ -793,9 +793,9 @@ cmdClientDisconnect(vshControl *ctl, const vshCmd *cmd) ...@@ -793,9 +793,9 @@ cmdClientDisconnect(vshControl *ctl, const vshCmd *cmd)
return ret; return ret;
} }
/* ------------------------ /* ---------------------------
* Command srv-clients-info * Command server-clients-info
* ------------------------ * ---------------------------
*/ */
static const vshCmdInfo info_srv_clients_info[] = { static const vshCmdInfo info_srv_clients_info[] = {
...@@ -852,9 +852,9 @@ cmdSrvClientsInfo(vshControl *ctl, const vshCmd *cmd) ...@@ -852,9 +852,9 @@ cmdSrvClientsInfo(vshControl *ctl, const vshCmd *cmd)
return ret; return ret;
} }
/* ----------------------- /* --------------------------
* Command srv-clients-set * Command server-clients-set
* ----------------------- * --------------------------
*/ */
static const vshCmdInfo info_srv_clients_set[] = { static const vshCmdInfo info_srv_clients_set[] = {
...@@ -957,9 +957,9 @@ cmdSrvClientsSet(vshControl *ctl, const vshCmd *cmd) ...@@ -957,9 +957,9 @@ cmdSrvClientsSet(vshControl *ctl, const vshCmd *cmd)
goto cleanup; goto cleanup;
} }
/* ------------------------ /* --------------------------
* Command srv-update-tls * Command server-update-tls
* ------------------------ * --------------------------
*/ */
static const vshCmdInfo info_srv_update_tls_file[] = { static const vshCmdInfo info_srv_update_tls_file[] = {
{.name = "help", {.name = "help",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册