mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-05 08:47:12 +08:00
Auth: Improve API authentication subcommand usage information #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -33,8 +33,8 @@ var AuthAddFlags = []cli.Flag{
|
||||
// AuthAddCommand configures the command name, flags, and action.
|
||||
var AuthAddCommand = cli.Command{
|
||||
Name: "add",
|
||||
Usage: "Creates a new client access token",
|
||||
Description: "Specifying a username as argument creates a personal access token for a registered user account.",
|
||||
Usage: "Creates a new access token for client authentication",
|
||||
Description: "If you provide a username as argument, a personal access token for registered users will be created.",
|
||||
ArgsUsage: "[username]",
|
||||
Flags: AuthAddFlags,
|
||||
Action: authAddAction,
|
||||
|
Reference in New Issue
Block a user