aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-02-23 15:45:44 -0500
committerJesús <heckyel@hyperbola.info>2021-02-23 15:45:44 -0500
commit4837da3367025671114b81150d2b65fd143ec32b (patch)
tree2e42300879f0e46bc996535aa532bf4e26e43b2d
parentf5cb3b043608535f08df5a753445cf65339bb017 (diff)
downloadw3c-validator-4837da3367025671114b81150d2b65fd143ec32b.tar.lz
w3c-validator-4837da3367025671114b81150d2b65fd143ec32b.tar.xz
w3c-validator-4837da3367025671114b81150d2b65fd143ec32b.zip
[README.md]: update syntax
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 0e7fdee..db3150e 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ and CSS files and URLs to the [W3C CSS Validation Service](https://jigsaw.w3.org
The script parses and reports the JSON results returned by validators.
## Requirements
-- Python
+- Python 3
- Curl
- An Internet connection
@@ -31,14 +31,14 @@ The script command syntax is:
Examples:
```bash
-$ w3c-validator tests/data/something-html5-file.html
+$ python w3c-validator tests/data/something-html5-file.html
validating: tests/data/something-html5-file.html ...
error: line 822: The tt element is obsolete. Use CSS instead.
```
```bash
-$ w3c-validator https://www.methods.co.nz/asciidoc/layout1.css
+$ python w3c-validator https://www.methods.co.nz/asciidoc/layout1.css
validating: https://www.methods.co.nz/asciidoc/layout1.css ...
```