bugfix - omit alias lookup if no subcommand provided
This commit is contained in:
1 parent
3fecd9c800
commit
c604c82e5e
1 file changed
+2
-1
@@ -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']:
|
||||||
|
|||||||
Reference in new issue
Block a user