fix: add missing CLI flags for user management (#5351)

This commit is contained in:
wx-11
2025-08-09 13:42:42 +08:00
committed by GitHub
parent c829330b53
commit cd51a59e72
3 changed files with 22 additions and 0 deletions

View File

@@ -76,6 +76,14 @@ options you want to change.`,
if err != nil {
return err
}
user.DateFormat, err = getBool(flags, "dateFormat")
if err != nil {
return err
}
user.HideDotfiles, err = getBool(flags, "hideDotfiles")
if err != nil {
return err
}
if newUsername != "" {
user.Username = newUsername