We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asciidoctor Ruby is using the rule "last one wins" when both --safe-mode and --safe options are present:
--safe-mode
--safe
$ echo '{safe-mode-name}' | asciidoctor -d inline --safe --safe-mode server - server $ echo '{safe-mode-name}' | asciidoctor -d inline --safe-mode server --safe - safe
Or when the options are present multiple times:
$ echo '{safe-mode-name}' | asciidoctor -d inline --safe-mode server --safe --safe-mode unsafe - unsafe
yargs also allows to use a value when an option is declared as a boolean, so the following commands are valid:
yargs
$ asciidoctor --safe=false doc.adoc $ asciidoctor --safe=true doc.adoc $ asciidoctor --safe value doc.adoc
I've opened two feature requests on yargs to be able to define flags (ie. boolean without argument) and shortcuts:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Asciidoctor Ruby is using the rule "last one wins" when both
--safe-mode
and--safe
options are present:Or when the options are present multiple times:
yargs
also allows to use a value when an option is declared as a boolean, so the following commands are valid:I've opened two feature requests on yargs to be able to define flags (ie. boolean without argument) and shortcuts:
The text was updated successfully, but these errors were encountered: