mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-17 15:39:00 +00:00
one more switch
This commit is contained in:
parent
c7358e6639
commit
87e808b392
@ -152,6 +152,9 @@ def _get_alias_details(nodedir):
|
||||
|
||||
|
||||
def list_aliases(options):
|
||||
"""
|
||||
Show aliases that exist.
|
||||
"""
|
||||
data = _get_alias_details(options['node-directory'])
|
||||
|
||||
if options['json']:
|
||||
@ -175,6 +178,6 @@ def list_aliases(options):
|
||||
if output:
|
||||
# Show whatever we computed. Skip this if there is no output to avoid
|
||||
# a spurious blank line.
|
||||
print(output, file=options.stdout)
|
||||
show_output(options.stdout, output)
|
||||
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user