Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 57997200C8A for ; Sun, 4 Jun 2017 23:44:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 561F5160BE0; Sun, 4 Jun 2017 21:44:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9C5B3160BBE for ; Sun, 4 Jun 2017 23:44:18 +0200 (CEST) Received: (qmail 14293 invoked by uid 500); 4 Jun 2017 21:44:17 -0000 Mailing-List: contact commits-help@ponymail.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ponymail.incubator.apache.org Delivered-To: mailing list commits@ponymail.incubator.apache.org Received: (qmail 14284 invoked by uid 99); 4 Jun 2017 21:44:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2017 21:44:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4A3D3180533 for ; Sun, 4 Jun 2017 21:44:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.222 X-Spam-Level: X-Spam-Status: No, score=-4.222 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id VHjU4-dMPtuz for ; Sun, 4 Jun 2017 21:44:16 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 6920E5F24C for ; Sun, 4 Jun 2017 21:44:15 +0000 (UTC) Received: (qmail 14280 invoked by uid 99); 4 Jun 2017 21:44:14 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2017 21:44:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 80D56DFBDA; Sun, 4 Jun 2017 21:44:14 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sebb@apache.org To: commits@ponymail.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-ponymail git commit: Confusing parameter name (--rename) in copy-list.py Date: Sun, 4 Jun 2017 21:44:14 +0000 (UTC) archived-at: Sun, 04 Jun 2017 21:44:19 -0000 Repository: incubator-ponymail Updated Branches: refs/heads/master f0edfa11d -> 516f1e569 Confusing parameter name (--rename) in copy-list.py This fixes #207 --rename replaced with --target Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/516f1e56 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/516f1e56 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/516f1e56 Branch: refs/heads/master Commit: 516f1e5690e6aef54e913d0b0c92eacec935cc52 Parents: f0edfa1 Author: Sebb Authored: Sun Jun 4 22:43:56 2017 +0100 Committer: Sebb Committed: Sun Jun 4 22:43:56 2017 +0100 ---------------------------------------------------------------------- CHANGELOG.md | 1 + tools/copy-list.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/516f1e56/CHANGELOG.md ---------------------------------------------------------------------- diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bd3618..fbedb3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -152,6 +152,7 @@ - Enh: make debug info optional (#369) - import-mbox.py: mailbox defaults to Create if file is not found (#370) - Bug: import --dedup does not cater for messages sent to multiple lists (#373) +- Confusing parameter name (--rename) in copy-list.py (#207) ## CHANGES in 0.9b: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/516f1e56/tools/copy-list.py ---------------------------------------------------------------------- diff --git a/tools/copy-list.py b/tools/copy-list.py index 6518528..6920063 100755 --- a/tools/copy-list.py +++ b/tools/copy-list.py @@ -69,7 +69,7 @@ rootURL = "" parser = argparse.ArgumentParser(description='Command line options.') parser.add_argument('--source', dest='source', type=str, nargs=1, help='Source list to edit') -parser.add_argument('--rename', dest='target', type=str, nargs=1, +parser.add_argument('--target', dest='target', type=str, nargs=1, help='(optional) new list ID') parser.add_argument('--newdb', dest='newdb', type=str, nargs=1, help='(optional) new ES database name')