Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User modify command doesn't show difference in non-interactive output mode #101

Open
JOJ0 opened this issue Mar 7, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@JOJ0
Copy link
Owner

JOJ0 commented Mar 7, 2023

When using the non-interactive/batch flag, the output of "what will be changed" and the final "spitting out" of "what has been changed" are stuck together, thus it's not obvious what has happened:

$ synadm --non-interactive user modify --user-type support testuser6 
Current user account settings:
admin: 0
appservice_id: null
avatar_url: null
consent_server_notice_sent: null
consent_version: null
creation_ts: 1605467620
deactivated: 1
displayname: testuser6
external_ids: []
is_guest: 0
name: '@testuser6:example.org'
password_hash: null
shadow_banned: false
threepids: []
user_type: null

User account settings to be modified:
user_type: support
admin: 0
appservice_id: null
avatar_url: null
consent_server_notice_sent: null
consent_version: null
creation_ts: 1605467620
deactivated: 1
displayname: testuser6
external_ids: []
is_guest: 0
name: '@testuser6:example.org'
password_hash: null
shadow_banned: false
threepids: []
user_type: support
@JOJ0 JOJ0 added the bug Something isn't working label Mar 7, 2023
@JacksonChen666 JacksonChen666 changed the title Non-interactive output output not well readable on user modify command Show differences in user modify command in non-interactive mode Oct 11, 2023
@JacksonChen666 JacksonChen666 changed the title Show differences in user modify command in non-interactive mode User modify command doesn't show difference in non-interactive output mode Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant