From patchwork Tue Jul 31 02:52:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Programmingkid X-Patchwork-Id: 10549815 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F0712157D for ; Tue, 31 Jul 2018 02:53:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC81C2A12C for ; Tue, 31 Jul 2018 02:53:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D05AE2A14A; Tue, 31 Jul 2018 02:53:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5ABD12A12C for ; Tue, 31 Jul 2018 02:53:38 +0000 (UTC) Received: from localhost ([::1]:56761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkKn1-00056R-Gu for patchwork-qemu-devel@patchwork.kernel.org; Mon, 30 Jul 2018 22:53:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkKmM-0004nX-4Z for qemu-devel@nongnu.org; Mon, 30 Jul 2018 22:52:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkKmL-0003CK-CS for qemu-devel@nongnu.org; Mon, 30 Jul 2018 22:52:54 -0400 Received: from mail-io0-x241.google.com ([2607:f8b0:4001:c06::241]:34754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkKmG-00033J-9G; Mon, 30 Jul 2018 22:52:48 -0400 Received: by mail-io0-x241.google.com with SMTP id l7-v6so11704747ioj.1; Mon, 30 Jul 2018 19:52:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=snG4pwsJ/c1mcvkp9mmtOI3/88jz2j6SCaFg5KYU1hY=; b=CL58U2ZK/rZGkQsH5DpR8za/RbCKu+Riyzqkf1whJY35lbarYSjIfxY7jPWp4KAFDB jxbhD9RbaJsv4GY7HDDX6jDxLARU+NW/v/3bOdLAl6YUTXCNpbw4qWPTJPdU2N+u2Ohi rGdLEBjTZTeNwwXcpxJ7SL0xJBrnstRZFKpDEwC6UOeSLaXLKmu95BsE1YemvbN6doUI UzQ7DRND7xSy4acgEuVe2qoexpmjX9uDfF2QXuP79BZUoP/A3uAVZZLFvylo/PIZj/Hm tqwx0+Qnfg97GmM+L5HqzQa4oQpcaxAXUYi8iheu3q0wmxTwfe0otksRVr+oneJV1985 1aFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=snG4pwsJ/c1mcvkp9mmtOI3/88jz2j6SCaFg5KYU1hY=; b=m2xyFpPYqb4Xi6kk6P7LQxhVAgl/SgVSJQOQ7NOKzP31PYgBOtlEGb6Ff+9DIij6Uy 3iobRkcmcDLoGn2/eJ28CyQoGtSG1StzUiHmRu09GRV2NWk8nPs2nkKGtH0aDPmX1nm0 dg0GRgZtuX1Mvd21KkzLPHUU0OczPdP1eH+Sj1dx5K0sf9vH24XSgPBaXneoMeS34Mzj GFlcuQKcI9SsbZ4MYftIU1t3iP2Fno1pXMLy6Bs07P1hU3iS8jhuDgkN73Qr8L+XVpuB Eaw5na/Sn3xKjTCMRJtPrEDK3gFZKU4FfTk1bRmYC1NsQtmEMQ3MT6RyVjw/CSzO7jEP Soqw== X-Gm-Message-State: AOUpUlHAMUKZus5GmiNqhN752dLpICRdL8H95kLFxRWt8sbH9XkvUOj0 U4M44ww73ER0/uoOiyh18Ns= X-Google-Smtp-Source: AAOMgpeLWSwLKhIFMmhTSwS3vpgzDhUAjYSypia3IWLRzOEDUTBQiHGz5wjuYV/oTrcqb9E7lSQUXg== X-Received: by 2002:a6b:5b0b:: with SMTP id v11-v6mr15330204ioh.39.1533005567435; Mon, 30 Jul 2018 19:52:47 -0700 (PDT) Received: from localhost.localdomain ([69.14.184.20]) by smtp.gmail.com with ESMTPSA id x17-v6sm3981885iob.6.2018.07.30.19.52.46 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 30 Jul 2018 19:52:46 -0700 (PDT) From: John Arbuckle To: kwolf@redhat.com, qemu-block@nongnu.org, mreitz@redhat.com, qemu-devel@nongnu.org Date: Mon, 30 Jul 2018 22:52:31 -0400 Message-Id: <20180731025231.17482-1-programmingkidx@gmail.com> X-Mailer: git-send-email 2.14.3 (Apple Git-98) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::241 Subject: [Qemu-devel] [PATCH] qemu-img-cmds.hx: Add example usage for create command X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Arbuckle Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add an example on how to use the create command. I believe this will make qemu-img easier to use. Signed-off-by: John Arbuckle --- qemu-img-cmds.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx index 69758fb6e8..92f7437944 100644 --- a/qemu-img-cmds.hx +++ b/qemu-img-cmds.hx @@ -50,7 +50,7 @@ STEXI ETEXI DEF("create", img_create, - "create [--object objectdef] [-q] [-f fmt] [-b backing_file] [-F backing_fmt] [-u] [-o options] filename [size]") + "create [--object objectdef] [-q] [-f fmt] [-b backing_file] [-F backing_fmt] [-u] [-o options] filename [size]\nExample: qemu-img create -f qcow2 WindowsXP.qcow2 10G") STEXI @item create [--object @var{objectdef}] [-q] [-f @var{fmt}] [-b @var{backing_file}] [-F @var{backing_fmt}] [-u] [-o @var{options}] @var{filename} [@var{size}] ETEXI