show-user: add --json flag

This commit is contained in:
2024-08-07 17:21:26 +02:00
parent a9b8f7cee7
commit 3d7d001f65
2 changed files with 18 additions and 10 deletions

View File

@@ -100,6 +100,7 @@ pub struct DatabaseUser {
#[sqlx(rename = "User")]
pub user: String,
#[serde(skip)]
#[sqlx(rename = "Host")]
pub host: String,