We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d66b94b commit f5ba85dCopy full SHA for f5ba85d
org/w3c/css/css/CssValidator.java
@@ -95,6 +95,10 @@ public static void main(String args[])
95
96
// first, we get the parameters and create an application context
97
try {
98
+ // kludge to display usage
99
+ if (args == null || args.length == 0) {
100
+ throw new Exception();
101
+ }
102
for (String param : args) {
103
if ("-h".equals(param) || "--help".equals(param) || "-help".equals(param)) {
104
throw new Exception();
0 commit comments