Merge "Remove deprecated expand-dependencies arg" into feature/v2
This commit is contained in:
commit
3a14b531fd
@ -185,10 +185,6 @@ def main():
|
|||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument('elements', nargs='+',
|
parser.add_argument('elements', nargs='+',
|
||||||
help='display dependencies of the given elements')
|
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',
|
parser.add_argument('--env', '-e', action='store_true',
|
||||||
default=False,
|
default=False,
|
||||||
help=('Output eval-able bash strings for '
|
help=('Output eval-able bash strings for '
|
||||||
@ -198,10 +194,6 @@ def main():
|
|||||||
|
|
||||||
all_elements = find_all_elements()
|
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)
|
elements = expand_dependencies(args.elements, all_elements)
|
||||||
|
|
||||||
if args.env:
|
if args.env:
|
||||||
|
Loading…
Reference in New Issue
Block a user