Skip to content

Commit

Permalink
Add help doc
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <ganze718@gmail.com>
  • Loading branch information
Pterosaur committed Aug 26, 2022
1 parent 83e6120 commit 18f703a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ def macsec():


@macsec.command('macsec')
@click.option('--clean-cache', type=bool, required=False, default=False)
@click.option('--clean-cache', type=bool, required=False, default=False, help="If the option of clean cache is true, next show commands will show the raw counters which based on the service booted instead of the last clear command.")
def macsec_clear_counters(clean_cache):
""" Clear MACsec counts """
"""
Clear MACsec counts.
This clear command will generated a cache for next show commands which will base on this cache as the zero baseline to show the increment of counters.
"""

if clean_cache:
os.remove(show_macsec.CACHE_FILE)
Expand Down

0 comments on commit 18f703a

Please sign in to comment.