Changeset 625 in code for trunk/doc/soju.1.scd


Ignore:
Timestamp:
Oct 12, 2021, 7:11:14 AM (4 years ago)
Author:
contact
Message:

service: allow updating other users

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/soju.1.scd

    r620 r625  
    323323        Other options are:
    324324
    325         *-admin*
     325        *-admin* true|false
    326326                Make the new user an administrator.
    327327
     
    330330                realname set for a network.
    331331
    332 *user update* [-password <password>] [-realname <realname>]
    333         Update the current user. The options are the same as the _user create_
    334         command.
     332*user update* [username] [options...]
     333        Update a user. The options are the same as the _user create_ command.
     334
     335        If _username_ is omitted, the current user is updated. Only admins can
     336        update other users.
     337
     338        Not all flags are valid in all contexts:
     339
     340        - The _-username_ flag is never valid, usernames are immutable.
     341        - The _-realname_ flag is only valid when updating the current user.
     342        - The _-admin_ flag is only valid when updating another user.
    335343
    336344*user delete* <username>
Note: See TracChangeset for help on using the changeset viewer.