Read MaxCtrl password from stdin when none provided
When the -p parameter is given without an argument, the password is read from the command line. This allows passwords to be given to MaxCtrl in a safer manner.
This commit is contained in:
@ -31,7 +31,7 @@ program
|
||||
})
|
||||
.option('p', {
|
||||
alias: 'password',
|
||||
describe: 'Password for the user',
|
||||
describe: 'Password for the user. To input the password manually, give -p as the last argument or use --password=\'\'',
|
||||
default: 'mariadb',
|
||||
type: 'string'
|
||||
})
|
||||
|
Reference in New Issue
Block a user