Remove deprecated expand-dependencies arg
This argument has been deprecated in element-dependencies for some time. Removing in v2. Change-Id: I9e40ec7bef7afbebba3958043db46975ea7b24ff
This commit is contained in:
parent
aedef4f00e
commit
eff793fc2f
@ -185,10 +185,6 @@ def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('elements', nargs='+',
|
||||
help='display dependencies of the given elements')
|
||||
parser.add_argument('--expand-dependencies', '-d', action='store_true',
|
||||
default=False,
|
||||
help=('(DEPRECATED) print expanded dependencies '
|
||||
'of all args'))
|
||||
parser.add_argument('--env', '-e', action='store_true',
|
||||
default=False,
|
||||
help=('Output eval-able bash strings for '
|
||||
@ -198,10 +194,6 @@ def main():
|
||||
|
||||
all_elements = find_all_elements()
|
||||
|
||||
if args.expand_dependencies:
|
||||
logger.warning("expand-dependencies flag is deprecated, "
|
||||
"and is now on by default.", file=sys.stderr)
|
||||
|
||||
elements = expand_dependencies(args.elements, all_elements)
|
||||
|
||||
if args.env:
|
||||
|
Loading…
Reference in New Issue
Block a user