bugfix - omit alias lookup if no subcommand provided
This commit is contained in:
parent
3fecd9c800
commit
c604c82e5e
3
jsvn
3
jsvn
@ -1022,7 +1022,8 @@ def main(argv):
|
|||||||
config = get_config()
|
config = get_config()
|
||||||
realsvn = config['svn'] if config['svn'] != '' else findInPath('svn')
|
realsvn = config['svn'] if config['svn'] != '' else findInPath('svn')
|
||||||
out = sys.stdout
|
out = sys.stdout
|
||||||
argv = apply_aliases(config, argv)
|
if len(argv) > 0:
|
||||||
|
argv = apply_aliases(config, argv)
|
||||||
using_pager = False
|
using_pager = False
|
||||||
using_color = sys.stdout.isatty() and config['use_color']
|
using_color = sys.stdout.isatty() and config['use_color']
|
||||||
if sys.stdout.isatty() and config['use_pager']:
|
if sys.stdout.isatty() and config['use_pager']:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user