Skip to content

Commit

Permalink
add CLI doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
krpatter-intc committed Dec 4, 2024
1 parent 9832f04 commit 69c78a6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,10 @@ By default, ``towncrier`` compares the current branch against ``origin/main`` (a
Use ``REMOTE-BRANCH`` instead of ``origin/main``::

$ towncrier check --compare-with origin/trunk

.. option:: --staged

Include files that have been staged for commit when checking for news fragments

$ towncrier check --staged
$ towncrier check --staged --compare-with origin/trunk

0 comments on commit 69c78a6

Please sign in to comment.