mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
Don't superhelp on lists
This commit is contained in:
parent
5cbcc0c529
commit
103445c8a9
1 changed files with 2 additions and 1 deletions
|
@ -401,7 +401,8 @@ def which(args, stdin=None, stdout=None, stderr=None):
|
|||
print(arg, file=stdout)
|
||||
else:
|
||||
print("aliases['{}'] = {}".format(arg, builtins.aliases[arg]), file=stdout)
|
||||
builtins.__xonsh_superhelp__(builtins.aliases[arg])
|
||||
if not isinstance(builtins.aliases[arg], list):
|
||||
builtins.__xonsh_superhelp__(builtins.aliases[arg])
|
||||
nmatches += 1
|
||||
if not pargs.all:
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue