Skip to content

Commit

Permalink
remove --shortcuts option to internal CLI code, and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell committed Jun 16, 2016
1 parent 1bc94f3 commit 96d0776
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions conda/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,7 @@ def duplicates_to_remove(dist_metas, keep_dists):


def main():
# This CLI is only invoked from the self-extracting shell installers
from optparse import OptionParser

p = OptionParser(description="conda link tool used by installer")
Expand All @@ -1218,13 +1219,6 @@ def main():
p.add_option('-v', '--verbose',
action="store_true")

if sys.platform == "win32":
p.add_argument(
"--shortcuts",
action="store_true",
help="Install start menu shortcuts"
)

opts, args = p.parse_args()
if args:
p.error('no arguments expected')
Expand All @@ -1251,7 +1245,7 @@ def main():
for dist in idists:
if opts.verbose:
print("linking: %s" % dist)
link(prefix, dist, linktype, opts.shortcuts)
link(prefix, dist, linktype)

messages(prefix)

Expand Down

0 comments on commit 96d0776

Please sign in to comment.