Skip to content

Difference between --no-api and --hide-api? #1574

Answered by lsegal
thomthom asked this question in Q&A
Discussion options

You must be logged in to vote
  1. --no-api does not take a TAG argument (optparse makes this hard to show) and will ignore objects that do not have an @api tag attached. It's equivalent to --api every --api other --api api --api used. See specs for examples.
  2. --hide-api TAG will hide objects for a particular API tag.

Unfortunately using the --[no-] prefix in optparse does not allow you to take an argument afterward, hence the use of --hide-api for that behavior.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lsegal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #1332 on September 03, 2024 08:33.