Skip to content

Commit

Permalink
fix stat text_mode (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaschaer authored Mar 14, 2024
1 parent d13aecf commit 6ac1aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/globus_cli/commands/stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from globus_cli.login_manager import LoginManager
from globus_cli.parsing import ENDPOINT_PLUS_REQPATH, command, local_user_option
from globus_cli.termio import Field, TextMode, display
from globus_cli.termio import Field, display

STAT_FIELDS = [
Field("Name", "name"),
Expand Down Expand Up @@ -52,7 +52,7 @@ def stat_command(
res = transfer_client.operation_stat(endpoint_id, path, local_user=local_user)
display(
res,
text_mode=TextMode.text_record,
text_mode=display.RECORD,
fields=STAT_FIELDS,
)

Expand Down

0 comments on commit 6ac1aa1

Please sign in to comment.