equal
deleted
inserted
replaced
431 |
431 |
432 def _checkshellalias(ui, args): |
432 def _checkshellalias(ui, args): |
433 cwd = os.getcwd() |
433 cwd = os.getcwd() |
434 norepo = commands.norepo |
434 norepo = commands.norepo |
435 options = {} |
435 options = {} |
436 args = fancyopts.fancyopts(args, commands.globalopts, options) |
436 |
|
437 try: |
|
438 args = fancyopts.fancyopts(args, commands.globalopts, options) |
|
439 except fancyopts.getopt.GetoptError: |
|
440 return |
437 |
441 |
438 if not args: |
442 if not args: |
439 return |
443 return |
440 |
444 |
441 _parseconfig(ui, options['config']) |
445 _parseconfig(ui, options['config']) |