Better formatting

This commit is contained in:
Bryan Ashby 2019-05-24 22:27:28 -06:00
parent 4ef32d1c52
commit b62f55961f
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 11 additions and 7 deletions

View File

@ -11,11 +11,11 @@ const usageHelp = exports.USAGE_HELP = {
`usage: oputil.js [--version] [--help]
<command> [<arguments>]
global arguments:
-c, --config PATH Specify config path (${getDefaultConfigPath()})
Global arguments:
-c, --config PATH Specify config path (default is ${getDefaultConfigPath()})
-n, --no-prompt Assume defaults (don't prompt for input where possible)
commands:
Commands:
user User management
config Configuration management
fb File base management
@ -36,13 +36,17 @@ Actions:
rename USERNAME NEWNAME Rename a user
(mv)
2fa-otp USERNAME SPEC Enable Two Factor Authentication (2FA)
2fa-otp USERNAME SPEC Enable 2FA/OTP for the user
(otp)
The system supports various implementations of Two Factor Authentication (2FA)
One Time Password (OTP) authentication.
Valid specs:
totp : Time-Based One-Time Password Algorithm (RFC-6238)
hotp : HMAC-Based One-Time Password Algorithm (RFC-4266)
google : Google Authenticator
disable : Removes 2FA/OTP from the user
google : Google Authenticator
hotp : HMAC-Based One-Time Password Algorithm (RFC-4266)
totp : Time-Based One-Time Password Algorithm (RFC-6238)
activate USERNAME Set a user's status to "active"