Michael[tm] Smith avatar Michael[tm] Smith committed 7ef9b91

Make the --w3cbranding option argument-less.

Comments (0)

Files changed (2)

       connectionTimeoutSeconds = int(arg[21:]);
     elif arg.startswith("--socket-timeout="):
       socketTimeoutSeconds = int(arg[17:]);
-    elif arg.startswith("--w3cbranding="):
-      w3cBranding = int(arg[14:]);
+    elif arg == '--w3cbranding':
+      w3cBranding = 1
     elif arg == '--help':
       printHelp()
     elif arg == 'dldeps':

startit.sh

-#!/bin/sh
-
-JAVA_HOME=/usr/local/java
-export JAVA_HOME
-
-PATH=$JAVA_HOME/bin/:$PATH
-export PATH
-
-cd /usr/local/validator.nu/checker
-
-if [ "$1" != "" ]
-then
-	args=$@
-else
-	args="--no-self-update run"
-fi
-python build/build.py \
-  --hgRoot=http://dvcs.w3.org/hg/ \
-  --w3cbranding=1 \
-  --heap=512 \
-  --connection-timeout=3 \
-  --socket-timeout=3 \
-  --page-template=http://www.w3.org/2009/12/vnu/w3cPageEmitter.xml \
-  --form-template=http://www.w3.org/2009/12/vnu/w3cFormEmitter.xml \
-  --html5link=http://dev.w3.org/html5/spec-author-view/ \
-  --about=http://www.w3.org/2009/12/vnu/ \
-  --name="Ready to validate" \
-  $args
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.