@@ -88,7 +88,7 @@ class Cmd {
8888 program
8989 . command ( 'build [environment]' )
9090 . option ( '--logfile [logfile]' , 'filename to output logs (default: none)' )
91- . option ( '--loglevel [loglevel]' , 'level of logging to display ["error", "warn", "info", "debug", "trace"] (default: debug) ' )
91+ . option ( '--loglevel [loglevel]' , 'level of logging to display ["error", "warn", "info", "debug", "trace"]' , / ^ ( e r r o r | w a r n | i n f o | d e b u g | t r a c e ) $ / i , 'debug ')
9292 . description ( 'deploy and build dapp at dist/ (default: development)' )
9393 . action ( function ( env , _options ) {
9494 _options . env = env || 'development' ;
@@ -107,7 +107,7 @@ class Cmd {
107107 . option ( '--nodashboard' , 'simple mode, disables the dashboard' )
108108 . option ( '--no-color' , 'no colors in case it\'s needed for compatbility purposes' )
109109 . option ( '--logfile [logfile]' , 'filename to output logs (default: none)' )
110- . option ( '--loglevel [loglevel]' , 'level of logging to display ["error", "warn", "info", "debug", "trace"] (default: debug)' , )
110+ . option ( '--loglevel [loglevel]' , 'level of logging to display ["error", "warn", "info", "debug", "trace"]' , / ^ ( e r r o r | w a r n | i n f o | d e b u g | t r a c e ) $ / i , 'debug' )
111111 . description ( 'run dapp (default: development)' )
112112 . action ( function ( env , options ) {
113113 embark . run ( {
0 commit comments