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 7804EDC5E77 for ; Thu, 27 Jun 2013 19:29:10 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 1E81020EBD for ; Thu, 27 Jun 2013 15:29:07 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 27 Jun 2013 15:29:08 -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=weh0wuGjEOi92t7EctjnLcmem QA=; b=dlAHFeDvahVfXJdnBv4EJ4PRmUItS7pauUCNCFf6DXedgMLDKKG5YYE1e GPDN73uD7OYU6CPMCbDk5/JEM/qJNJdkAeAhlfcgAGg7KG8N9OeRdHZWw4MGlvBl IYzUgEVDhI8keRc3Da64bgOZo6fEIgf+OXdMYO1wAMxkraX6JI= X-Sasl-enc: IIrGU0YCQsdgOaQSI+jtNeOOzNA+8PprKIwSvaaw5EGT 1372361345 Received: from localhost (unknown [69.86.161.244]) by mail.messagingengine.com (Postfix) with ESMTPA id CB92B680482 for ; Thu, 27 Jun 2013 15:29:05 -0400 (EDT) From: Dubiousjim To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH 11/15] Prefer "apk mkindex" over "apk index" Date: Thu, 27 Jun 2013 15:28:56 -0400 Message-Id: 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/index.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/index.c b/src/index.c index 4a97911..dafb5fc 100644 --- a/src/index.c +++ b/src/index.c @@ -251,7 +251,7 @@ static struct apk_option index_options[] = { static struct apk_applet apk_index = { .name = "index", - .help = "Create repository index file from FILEs", + .help = "Create repository index file from FILEs (deprecated, use mkindex instead)", .arguments = "FILE...", .open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS, .context_size = sizeof(struct index_ctx), @@ -263,3 +263,16 @@ static struct apk_applet apk_index = { APK_DEFINE_APPLET(apk_index); +static struct apk_applet apk_mkindex = { + .name = "mkindex", + .help = "Create repository index file from FILEs", + .arguments = "FILE...", + .open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS, + .context_size = sizeof(struct index_ctx), + .num_options = ARRAY_SIZE(index_options), + .options = index_options, + .parse = index_parse, + .main = index_main, +}; + +APK_DEFINE_APPLET(apk_mkindex); -- 1.8.3.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---