diff options
author | Tim Harder <radhermit@gmail.com> | 2015-07-04 01:50:27 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2015-07-04 12:50:19 -0400 |
commit | 60823be919672571e1d41f200487cdaa65d9327a (patch) | |
tree | a9ee364a729189841acb4165039a5eba5b83a481 | |
parent | remove old build_api_docs.sh script (diff) | |
download | pkgcore-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.py | 3 |
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)) |