Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README: -r was renamed to -o

  • Loading branch information...
commit a2dc840a09361c6a848ca01911998d29e6ec462e 1 parent 8d9f75c
@dzhus authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.org
View
10 README.org
@@ -19,16 +19,18 @@
: ./snap-auth-cli --create -u TwasBrillig -p SlithyToves1855
- User roles may be set when creating account:
+ User roles may be set when creating account using arbitary number
+ of `-o` flags:
- : ./snap-auth-cli --create -u TwasBrillig2 -p SlithyToves1855 -r gyre -r gimble
+ : ./snap-auth-cli --create -u TwasBrillig2 -p SlithyToves1855 -o gyre -o gimble
A user may have arbitary number of key-value pairs attached in meta
field (currently all fields are stored in Strings):
- : ./snap-auth-cli --create -u AlexP -p 1234 -k number -v 3214 -k foo -v bar -r admin
+ : ./snap-auth-cli --create -u AlexP -p 1234 -k number -v 3214 -k foo -v bar -o admin
- Read the user from DB (`--read` flag may be omitted):
+ Read the user from DB (`--read` flag may be omitted since reading
+ is the default mode):
: ./snap-auth-cli --read -u AlexP
: {
Please sign in to comment.
Something went wrong with that request. Please try again.