From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWVWn-0007JS-HA for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:45:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWVWf-0002HE-5L for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:45:49 -0400 Received: from mail.codeweavers.com ([216.251.189.131]:46818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWVWe-0002FC-Ls for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:45:40 -0400 Received: from jwhite.mn.codeweavers.com ([10.69.137.101] helo=jwhite.mn.codeweavers.com.) by mail.codeweavers.com with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YWVWX-0001m6-Iv for qemu-devel@nongnu.org; Fri, 13 Mar 2015 14:45:33 -0500 From: Jeremy White Date: Fri, 13 Mar 2015 14:45:24 -0500 Message-Id: <1426275924-1904-8-git-send-email-jwhite@codeweavers.com> In-Reply-To: <1426275924-1904-1-git-send-email-jwhite@codeweavers.com> References: <1426275924-1904-1-git-send-email-jwhite@codeweavers.com> Subject: [Qemu-devel] [PATCH v3 7/7] Remove the (broken) passthru option. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org That option can be achieved using -e "use_hw=yes hw_type=passthru" Signed-off-by: Jeremy White --- libcacard/vscclient.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c index fa6041d..8573f50 100644 --- a/libcacard/vscclient.c +++ b/libcacard/vscclient.c @@ -41,14 +41,8 @@ print_byte_array( static void print_usage(void) { - printf("vscclient [-c .. -e -d %s] " - " \n", -#ifdef USE_PASSTHRU - " -p"); - printf(" -p use passthrough mode\n"); -#else - ""); -#endif + printf("vscclient [-c .. -e -d ] " + " \n"); vcard_emul_usage(); } @@ -673,7 +667,7 @@ main( } #endif - while ((c = getopt(argc, argv, "c:e:pd:")) != -1) { + while ((c = getopt(argc, argv, "c:e:d:")) != -1) { switch (c) { case 'c': if (cert_count >= MAX_CERTS) { @@ -685,10 +679,6 @@ main( case 'e': emul_args = optarg; break; - case 'p': - print_usage(); - exit(4); - break; case 'd': verbose = get_id_from_string(optarg, 1); break; -- 1.7.10.4