From patchwork Fri Oct 2 13:00:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 54430 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id 3F47623009 for ; Fri, 2 Oct 2015 13:45:14 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf8222244wic.3 for ; Fri, 02 Oct 2015 06:45:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=HS4EUGIbiAi2JtcsHpF9nKbmek+627m9LxN35p0bw1k=; b=lfEaNbbf/HeA8tVpOqTqcLCA4PyRLKYOPAVyf+wcEBqDYhD53DQqC+7KxDXnBjUNxw rqEXcfSg/+0d08xy+nDuSEXZ5NraAFJDS9h2wd4md+ZsiyMbD3r4H4DjIkQCZSGai24H cqI3e08kYR5SRpvlf28MPSmGO0k/YrlkLIN3aUJ5uWYwkyROgS2QtuQIPVzi0CTq5Zu4 hH/fP+SXlg0J/I0UlDD1ak8SNfGtCpl/YS6MRUzdwQkO23UVJEknkUJSYo4fmiG++BYo gAhOzJmPjbfeyv9UsZkWd9I7Uwr8mWj/neHIUzrOoUfpqYDv59HHX3sehyXILLtmHoPi TntQ== X-Gm-Message-State: ALoCoQkhm231VVihg26SWnPtMInE01uN65rFzIs1Qa8CJhnqSX67JR2qFkCEdCagn7m+FehiVexo X-Received: by 10.180.35.132 with SMTP id h4mr962473wij.5.1443793513568; Fri, 02 Oct 2015 06:45:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.157.135 with SMTP id g129ls204047lfe.84.gmail; Fri, 02 Oct 2015 06:45:13 -0700 (PDT) X-Received: by 10.112.125.231 with SMTP id mt7mr5557722lbb.87.1443793513411; Fri, 02 Oct 2015 06:45:13 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id a133si6281394lfe.143.2015.10.02.06.45.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Oct 2015 06:45:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbos8 with SMTP id s8so26681524lbo.0 for ; Fri, 02 Oct 2015 06:45:13 -0700 (PDT) X-Received: by 10.112.139.201 with SMTP id ra9mr5608027lbb.29.1443793513302; Fri, 02 Oct 2015 06:45:13 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1255111lbq; Fri, 2 Oct 2015 06:45:12 -0700 (PDT) X-Received: by 10.140.237.72 with SMTP id i69mr21191257qhc.56.1443793495595; Fri, 02 Oct 2015 06:44:55 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u92si10343581qgd.54.2015.10.02.06.44.55 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 02 Oct 2015 06:44:55 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:59864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zi0dr-0001Cw-2Q for patch@linaro.org; Fri, 02 Oct 2015 09:44:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhzxd-0005Fl-Lx for qemu-devel@nongnu.org; Fri, 02 Oct 2015 09:01:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhzxZ-0000Zd-DQ for qemu-devel@nongnu.org; Fri, 02 Oct 2015 09:01:17 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:35684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhzxZ-0000ZS-7I for qemu-devel@nongnu.org; Fri, 02 Oct 2015 09:01:13 -0400 Received: by lbwr8 with SMTP id r8so25927637lbw.2 for ; Fri, 02 Oct 2015 06:01:12 -0700 (PDT) X-Received: by 10.112.72.193 with SMTP id f1mr5516186lbv.12.1443790871350; Fri, 02 Oct 2015 06:01:11 -0700 (PDT) Received: from localhost.localdomain (91-157-196-38.elisa-laajakaista.fi. [91.157.196.38]) by smtp.gmail.com with ESMTPSA id w143sm1514751lfd.2.2015.10.02.06.01.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Oct 2015 06:01:09 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Fri, 2 Oct 2015 16:00:54 +0300 Message-Id: X-Mailer: git-send-email 2.5.3 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.217.170 Cc: Meador Inge Subject: [Qemu-devel] [PULL 02/13] linux-user: Add -help X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Meador Inge This option is already available on the system mode binaries. It would be better if long options were supported (i.e. --help), but this is okay for now. Signed-off-by: Meador Inge Signed-off-by: Riku Voipio --- linux-user/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/main.c b/linux-user/main.c index 7593212..58d8d8d 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -3883,6 +3883,8 @@ struct qemu_argument { static const struct qemu_argument arg_table[] = { {"h", "", false, handle_arg_help, "", "print this help"}, + {"help", "", false, handle_arg_help, + "", ""}, {"g", "QEMU_GDB", true, handle_arg_gdb, "port", "wait gdb connection to 'port'"}, {"L", "QEMU_LD_PREFIX", true, handle_arg_ld_prefix,