From nobody Thu Apr 25 21:33:42 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1593516191; cv=none; d=zohomail.com; s=zohoarc; b=MeVmZCZvYBLPV6AxSegwsBEkjQ+aLEuwJvU/tVOukCDS+AAf8WyeNY4G/yQTmprQrbh3wHYG1a5jRNNF2OPxJjp8l6A0Pal2TmSeoNXtwaMWS3Nm114aC606ejbzNpElQwL8xTQ8RUujHZysv/sTlhab04eE4vw1748+bjD5LTc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1593516191; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=ltyFReafe/iKZZVobFX+g0QrRGb4Juytcs9yYP1/IX0=; b=lBJIiAgAvUqmQ1dhwRRdZIqSVtZg2hkdYvu7Wtb9p8U1aIHksX+JmuWCjmw+lZkAMcPK87ubVR0VX/QrewjiTqxq/WURekahukNMMWMFoLOgLMv6JrCtthfiLGwRjI48xPOMPuxZT146XnLbiqvTtLq5dSRfM/jyqB0+QpMVYN4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1593516191271567.1514691639796; Tue, 30 Jun 2020 04:23:11 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-371-F1kZqP0xNRSAmUKYKDgb7w-1; Tue, 30 Jun 2020 07:23:07 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 408B718FF664; Tue, 30 Jun 2020 11:23:02 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5E3C65BAC5; Tue, 30 Jun 2020 11:22:58 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 522891809542; Tue, 30 Jun 2020 11:22:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 05UBLrvs007366 for ; Tue, 30 Jun 2020 07:21:53 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8549F5D9DC; Tue, 30 Jun 2020 11:21:53 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.36.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 623705D9D7; Tue, 30 Jun 2020 11:21:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593516190; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ltyFReafe/iKZZVobFX+g0QrRGb4Juytcs9yYP1/IX0=; b=fdatAGPAzaHT9ISipPc09BPnqDVybI7ahg5zGmsO+OjUC5V/rxzjX3pFESzILZz5aq7rfl EBeeP5pTOgk+w7X1RmcyBINF+ShfOce4IatTmyqpmXQy/Setrm1g5WLCzxggqpY/WYLE2w XIPRA9RxAV0njb2mkSl6eVwYxOz32gM= X-MC-Unique: F1kZqP0xNRSAmUKYKDgb7w-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH] tools: fix misleading comments about command names Date: Tue, 30 Jun 2020 12:21:46 +0100 Message-Id: <20200630112146.1413510-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The srv-XXX commands were renamed to server-XXX, with the old name being a undocumented back compat alias only. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Erik Skultety --- tools/virt-admin.c | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/tools/virt-admin.c b/tools/virt-admin.c index 6ff9729f66..fef0332a0d 100644 --- a/tools/virt-admin.c +++ b/tools/virt-admin.c @@ -315,9 +315,9 @@ cmdConnect(vshControl *ctl, const vshCmd *cmd) } =20 =20 -/* --------------- - * Command srv-list - * --------------- +/* ------------------- + * Command server-list + * ------------------- */ =20 static const vshCmdInfo info_srv_list[] =3D { @@ -380,9 +380,9 @@ cmdSrvList(vshControl *ctl, const vshCmd *cmd G_GNUC_UN= USED) } =20 =20 -/* --------------------------- - * Command srv-threadpool-info - * --------------------------- +/* ------------------------------ + * Command server-threadpool-info + * ------------------------------ */ =20 static const vshCmdInfo info_srv_threadpool_info[] =3D { @@ -441,9 +441,9 @@ cmdSrvThreadpoolInfo(vshControl *ctl, const vshCmd *cmd) return ret; } =20 -/* -------------------------- - * Command srv-threadpool-set - * -------------------------- +/* ----------------------------- + * Command server-threadpool-set + * ----------------------------- */ =20 static const vshCmdInfo info_srv_threadpool_set[] =3D { @@ -550,9 +550,9 @@ cmdSrvThreadpoolSet(vshControl *ctl, const vshCmd *cmd) goto cleanup; } =20 -/* ------------------------ - * Command srv-clients-list - * ------------------------ +/* --------------------------- + * Command server-clients-list + * --------------------------- */ =20 static const vshCmdInfo info_srv_clients_list[] =3D { @@ -793,9 +793,9 @@ cmdClientDisconnect(vshControl *ctl, const vshCmd *cmd) return ret; } =20 -/* ------------------------ - * Command srv-clients-info - * ------------------------ +/* --------------------------- + * Command server-clients-info + * --------------------------- */ =20 static const vshCmdInfo info_srv_clients_info[] =3D { @@ -852,9 +852,9 @@ cmdSrvClientsInfo(vshControl *ctl, const vshCmd *cmd) return ret; } =20 -/* ----------------------- - * Command srv-clients-set - * ----------------------- +/* -------------------------- + * Command server-clients-set + * -------------------------- */ =20 static const vshCmdInfo info_srv_clients_set[] =3D { @@ -957,9 +957,9 @@ cmdSrvClientsSet(vshControl *ctl, const vshCmd *cmd) goto cleanup; } =20 -/* ------------------------ - * Command srv-update-tls - * ------------------------ +/* -------------------------- + * Command server-update-tls + * -------------------------- */ static const vshCmdInfo info_srv_update_tls_file[] =3D { {.name =3D "help", --=20 2.26.2