From 85edae53db89f6471bfe19385a54a22ec2ec4149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Philippe=20V=C3=A9ronneau?= Date: Sat, 11 Jan 2020 22:41:36 -0500 Subject: [PATCH] fix documentation on how to create new admin user --- README.md | 3 ++- docs/man/supysonic-cli-user.rst | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 472d74a..61b9df8 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,8 @@ library is located and create a user to allow calls to the API. Let's start by creating a new admin user this way: - $ supysonic-cli user add MyUserName -a -p MyAwesomePassword + $ supysonic-cli user add MyUserName -p MyAwesomePassword + $ supysonic-cli user setroles -A MyUserName To add a new folder to your music library, you can do something like this: diff --git a/docs/man/supysonic-cli-user.rst b/docs/man/supysonic-cli-user.rst index 9ac39d7..33096cc 100644 --- a/docs/man/supysonic-cli-user.rst +++ b/docs/man/supysonic-cli-user.rst @@ -54,7 +54,8 @@ Examples To add a new admin user:: - $ supysonic-cli user add MyUserName -a -p MyAwesomePassword + $ supysonic-cli user add MyUserName -p MyAwesomePassword + $ supysonic-cli user setroles -A MyUserName See Also ========