Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 432842 Details for
Bug 581742
repoman: please make `-e' option to be an equivalent of `-e y'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-repoman-make-y-default-argument-for-e-and-include-ex.patch
0001-repoman-make-y-default-argument-for-e-and-include-ex.patch (text/plain), 1.01 KB, created by
Coacher
on 2016-05-01 15:35:37 UTC
(
hide
)
Description:
0001-repoman-make-y-default-argument-for-e-and-include-ex.patch
Filename:
MIME Type:
Creator:
Coacher
Created:
2016-05-01 15:35:37 UTC
Size:
1.01 KB
patch
obsolete
>From 643f99b30c9d73788be3068be79949e269bd8156 Mon Sep 17 00:00:00 2001 >From: Ilya Tumaykin <itumaykin@gmail.com> >Date: Sun, 1 May 2016 18:27:18 +0300 >Subject: repoman: make `y' default argument for `-e' and > `--include-exp-profiles' > >This allows to specify `-e' or `--include-exp-profiles' options without >arguments and they would work as `-e y' and `--include-exp-profiles y', >respectively. > >Backwards compatibility is preserved, so passing arguments to these >options works as before. >--- > pym/repoman/argparser.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/pym/repoman/argparser.py b/pym/repoman/argparser.py >index 2d56a87..9c9f443 100644 >--- a/pym/repoman/argparser.py >+++ b/pym/repoman/argparser.py >@@ -153,7 +153,7 @@ def parse_args(argv, qahelp, repoman_default_opts): > > parser.add_argument( > '-e', '--include-exp-profiles', choices=('y', 'n'), metavar='<y|n>', >- default=False, >+ nargs='?', const='y', default=False, > help='include exp profiles in dependency checks') > > parser.add_argument(
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 581742
: 432842