Add description to help message

This commit is contained in:
Eric Torres 2022-03-24 21:56:26 -07:00
parent bd4d81b5cb
commit 2839f6fe80
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,13 @@
Changelog for packaging-scripts
===============================
Version 1.6.1
-------------
* pug2
* Add description to help message
Version 1.6.0
-------------

View File

@ -25,6 +25,7 @@ CONFIG_OPTION_ENABLE = "RUN_ON_PACMAN_HOOK"
CONFIG_OPTION_FILENAME = "GIST_FILENAME"
CONFIG_OPTION_ID = "GIST_ID"
DESCRIPTION = "Send a list of explicitly installed pacman packages to a gist"
# ========== Functions ==========
def extract_gist_id(url):
@ -71,7 +72,7 @@ def package_lists_match(gist_id):
# ========== Main Script ==========
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser = argparse.ArgumentParser(description=DESCRIPTION)
parser.add_argument(
"-c",
"--check-if-enabled",