File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,13 +111,17 @@ for (const argument of process.argv.slice(2)) {
111111 if ( ! scripts . length )
112112 scripts . push ( `*.*` )
113113
114+ if ( options . has ( `skip-minify` ) && options . has ( `mangle-names` ) )
115+ console . warn ( `pointless specifying both --skip-minify and --mangle-names` )
116+
114117 const infos = await push (
115118 sourcePath ,
116119 hackmudPath ,
117120 {
118121 scripts,
119122 onPush : onPushLogger ,
120- minify : ! options . get ( `skip-minify` )
123+ minify : ! options . get ( `skip-minify` ) ,
124+ mangleNames : Boolean ( options . get ( `mangle-names` ) )
121125 }
122126 )
123127
@@ -433,7 +437,7 @@ function help() {
433437 } break
434438
435439 case `push` : {
436- console . log ( `hsm push <dir> [..."<script user>.<script name>"]` )
440+ console . log ( `hsm push <dir> [..."<script user>.<script name>"] [--skip-minify] [--mangle-names] ` )
437441 } break
438442
439443 case `dev` :
You can’t perform that action at this time.
0 commit comments