X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 18982DC0748 for ; Thu, 27 Jun 2013 19:29:02 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id A172920A89 for ; Thu, 27 Jun 2013 15:29:02 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 27 Jun 2013 15:29:02 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :in-reply-to:references; s=smtpout; bh=DMWouyoNcGjEhHk3RyGUFC2B9 b4=; b=gvAqVk1jXTynWG1GGOuL2bzpnVbBrOpMX2kFJ4NYMfsL5A8vOqXM7YajG YU4ODrefC6dsM8jUp7WGSs1csc+Nei+bYwH/wH6UZ7Olo5jqQPxW+mtj0ZEmgbGF cRx1mSoBBWiW/ReADRbeS9aoEzS4gjFgJy/9Z0DwgZFfaQF9Ps= X-Sasl-enc: e23Yuu+A4YXHJ6R9hnVFP1NbokY/Awf/TaWIZBSmUoSc 1372361342 Received: from localhost (unknown [69.86.161.244]) by mail.messagingengine.com (Postfix) with ESMTPA id 68B0E6802B6 for ; Thu, 27 Jun 2013 15:29:02 -0400 (EDT) From: Dubiousjim To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH 03/15] clarify "apk version" usage Date: Thu, 27 Jun 2013 15:28:48 -0400 Message-Id: <8d44ebf8d8cb40a536d78d2a4f5871fa247bb60e.1372361242.git.dubiousjim@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- src/ver.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ver.c b/src/ver.c index 99da504..fc7df5a 100644 --- a/src/ver.c +++ b/src/ver.c @@ -183,8 +183,8 @@ static int ver_main(void *pctx, struct apk_database *db, struct apk_string_array static struct apk_option ver_options[] = { { 'I', "indexes", "Print description and versions of indexes" }, - { 't', "test", "Compare two given versions" }, - { 'c', "check", "Check if the given version string is valid" }, + { 't', "test", "Compare two given versions, output '<' '=' or '>'" }, + { 'c', "check", "Check the given version strings, output any that are invalid" }, { 'a', "all", "Consider packages from all repository tags" }, { 'l', "limit", "Limit output to packages with status matching one of LIMCHARs", required_argument, "LIMCHARs" }, @@ -192,7 +192,8 @@ static struct apk_option ver_options[] = { static struct apk_applet apk_ver = { .name = "version", - .help = "Compare package versions", + .help = "Compare package versions (in installed database vs. available) " + "or do tests on literal version strings (with or without -rN suffixes)", .open_flags = APK_OPENF_READ, .context_size = sizeof(struct ver_ctx), .num_options = ARRAY_SIZE(ver_options), -- 1.8.3.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---