aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2015-07-04 01:50:27 -0400
committerTim Harder <radhermit@gmail.com>2015-07-04 12:50:19 -0400
commit60823be919672571e1d41f200487cdaa65d9327a (patch)
treea9ee364a729189841acb4165039a5eba5b83a481
parentremove old build_api_docs.sh script (diff)
downloadpkgcore-60823be919672571e1d41f200487cdaa65d9327a.tar.gz
pkgcore-60823be919672571e1d41f200487cdaa65d9327a.tar.bz2
pkgcore-60823be919672571e1d41f200487cdaa65d9327a.zip
commandline: drop extra unnecessary option --config-empty
Just having one option --empty-config is simpler.
-rw-r--r--pkgcore/util/commandline.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgcore/util/commandline.py b/pkgcore/util/commandline.py
index 7aa00f05..587451c0 100644
--- a/pkgcore/util/commandline.py
+++ b/pkgcore/util/commandline.py
@@ -754,8 +754,7 @@ def mk_argparser(suppress=False, config=True, domain=True,
p.add_argument('--new-config', nargs=3, action='append',
metavar=("SECTION", "KEY", "VALUE"),
help="add a new configuration section.")
- p.add_argument('--empty-config', '--config-empty', action='store_true',
- default=False, dest='empty_config',
+ p.add_argument('--empty-config', action='store_true', default=False,
help="Do not load user/system configuration.")
p.set_defaults(config=DelayedValue(store_config, 0))