Repoman pulls in lxml unconditionally now and performs metadata checks
by default. This behavior makes these command line options obsolete
since forcing the default makes little sense. Declare them obsolete
instead of removing them for backwards compatibility.

Signed-off-by: Göktürk Yüksek <gokt...@gentoo.org>
---
 repoman/man/repoman.1            | 3 +--
 repoman/pym/repoman/argparser.py | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/repoman/man/repoman.1 b/repoman/man/repoman.1
index e2b9c66..fc5c52d 100644
--- a/repoman/man/repoman.1
+++ b/repoman/man/repoman.1
@@ -59,8 +59,7 @@ Be less verbose about extraneous info
 \fB-p\fR, \fB--pretend\fR
 Don't commit or fix anything; just show what would be done
 .TP
-\fB-x\fR, \fB--xmlparse\fR
-Forces the metadata.xml parse check to be carried out
+\fB-x\fR, \fB--xmlparse\fR (OBSOLETE)
 .TP
 \fB-v\fR, \fB--verbose\fR
 Displays every package name while checking
diff --git a/repoman/pym/repoman/argparser.py b/repoman/pym/repoman/argparser.py
index 2d56a87..3d35b6a 100644
--- a/repoman/pym/repoman/argparser.py
+++ b/repoman/pym/repoman/argparser.py
@@ -117,7 +117,7 @@ def parse_args(argv, qahelp, repoman_default_opts):
        parser.add_argument(
                '-x', '--xmlparse', dest='xml_parse', action='store_true',
                default=False,
-               help='forces the metadata.xml parse check to be carried out')
+               help='(OBSOLETE)')
 
        parser.add_argument(
                '--if-modified', choices=('y', 'n'), default='n',
-- 
2.7.3


Reply via email to