We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b19855 commit c0fb28fCopy full SHA for c0fb28f
src/com/yahoo/platform/yui/compressor/YUICompressor.java
@@ -81,6 +81,10 @@ public static void main(String args[]) {
81
String[] fileArgs = parser.getRemainingArgs();
82
java.util.List files = java.util.Arrays.asList(fileArgs);
83
if (files.isEmpty()) {
84
+ if (type == null) {
85
+ usage();
86
+ System.exit(1);
87
+ }
88
files = new java.util.ArrayList();
89
files.add("-"); // read from stdin
90
}
0 commit comments