diff options
author | Amir Bawab <amirbawab@gmail.com> | 2019-10-09 23:12:28 -0400 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2019-10-09 20:12:28 -0700 |
commit | 8d6f79d2b11b5ab54a6965d072afccd66629947d (patch) | |
tree | fbdb7188a2c765c7f9f2b59d970481638a6f8e17 /test/help/wat-desugar.txt | |
parent | 6d39c5876efbcae17df6c6d45d371b9194fb0b28 (diff) | |
download | wabt-8d6f79d2b11b5ab54a6965d072afccd66629947d.tar.gz wabt-8d6f79d2b11b5ab54a6965d072afccd66629947d.tar.bz2 wabt-8d6f79d2b11b5ab54a6965d072afccd66629947d.zip |
Add `--version` to wabt tools (#1175)
Closes: #1106
Ported versioning system from [Binaryen CMakeLists.txt](https://github.com/WebAssembly/binaryen/blob/dc31b460fef47dfb3415b4ae6276fff4919a03e2/CMakeLists.txt#L10-L23)
```
bin/wasm2c --version
1.0.11-44-g71f883ad
```
Applied to (all) tools in `src/tools/`.
Diffstat (limited to 'test/help/wat-desugar.txt')
-rw-r--r-- | test/help/wat-desugar.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/help/wat-desugar.txt b/test/help/wat-desugar.txt index 09fd9165..2560efc8 100644 --- a/test/help/wat-desugar.txt +++ b/test/help/wat-desugar.txt @@ -17,6 +17,7 @@ examples: options: --help Print this help message + --version Print version information -o, --output=FILE Output file for the formatted file --debug-parser Turn on debugging the parser of wat files -f, --fold-exprs Write folded expressions where possible |