Skip to content

Add an option to print only version info - #1507

Merged
saghul merged 4 commits into
quickjs-ng:masterfrom
mhogomchungu:master
May 22, 2026
Merged

saghul merged 4 commits into
quickjs-ng:masterfrom
mhogomchungu:master

Conversation

@mhogomchungu

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread qjs.c Resolved
Comment thread qjs.c Outdated
help(0);
}
if (opt == 'v' || !strcmp(longopt, "version")) {
printf("QuickJS-ng version %s\n",JS_GetVersion());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just print the version, no extra text, it will make it much easier for scripts that want to parse it...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@saghul
saghul merged commit 3adc8c9 into quickjs-ng:master May 22, 2026
124 checks passed
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
quickjs-ng 0.15.1

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## What's Changed
* Add an option to print only version info by @mhogomchungu in quickjs-ng/quickjs#1507
* Walk the cause chain when dumping uncaught errors by @saghul in quickjs-ng/quickjs#1509
* Update projects.md by @qr243vbi in quickjs-ng/quickjs#1514
* Actually enable mimalloc in the CMake CLI build by @saghul in quickjs-ng/quickjs#1519
* reject growable SharedArrayBuffer without hooks by @jdcaperon in quickjs-ng/quickjs#1523

## New Contributors
* @mhogomchungu made their first contribution in quickjs-ng/quickjs#1507
* @jdcaperon made their first contribution in quickjs-ng/quickjs#1523

**Full Changelog**: https://github.com/quickjs-ng/quickjs/compare/v0.15.0...v0.15.1</pre>
  <p>View the full release notes at <a href="https://github.com/quickjs-ng/quickjs/releases/tag/v0.15.1">https://github.com/quickjs-ng/quickjs/releases/tag/v0.15.1</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!10565
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants