From nobody Mon May 6 19:16:29 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=eik.bme.hu Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1635587600025564.8953727954091; Sat, 30 Oct 2021 02:53:20 -0700 (PDT) Received: from localhost ([::1]:43090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgl38-00014D-BQ for importer@patchew.org; Sat, 30 Oct 2021 05:53:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgl2P-0000Cm-2Y for qemu-devel@nongnu.org; Sat, 30 Oct 2021 05:52:33 -0400 Received: from zero.eik.bme.hu ([2001:738:2001:2001::2001]:45279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgl2M-0000Up-JA for qemu-devel@nongnu.org; Sat, 30 Oct 2021 05:52:32 -0400 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 6ED42755FE6; Sat, 30 Oct 2021 11:52:25 +0200 (CEST) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 513D4748F48; Sat, 30 Oct 2021 11:52:25 +0200 (CEST) From: BALATON Zoltan Subject: [PATCH v2] hmp: Add shortcut to stop command to match cont Date: Sat, 30 Oct 2021 11:49:37 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: qemu-devel@nongnu.org Message-Id: <20211030095225.513D4748F48@zero.eik.bme.hu> X-Spam-Probability: 8% Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2001:738:2001:2001::2001; envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Dr. David Alan Gilbert" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZM-MESSAGEID: 1635587602020100001 Content-Type: text/plain; charset="utf-8" Some commands such as quit or cont have one letter alternatives but stop is missing that. Add stop|s to match cont|c for consistency and convenience. Signed-off-by: BALATON Zoltan Reviewed-by: Daniel P. Berrang=C3=A9 --- c2: Fixed typo in commit title hmp-commands.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hmp-commands.hx b/hmp-commands.hx index cf723c69ac..07a738a8e2 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -382,7 +382,7 @@ SRST ERST =20 { - .name =3D "stop", + .name =3D "stop|s", .args_type =3D "", .params =3D "", .help =3D "stop emulation", @@ -390,7 +390,7 @@ ERST }, =20 SRST -``stop`` +``stop`` or ``s`` Stop emulation. ERST =20 --=20 2.21.4