Add description to help message
This commit is contained in:
parent
bd4d81b5cb
commit
2839f6fe80
@ -1,6 +1,13 @@
|
|||||||
Changelog for packaging-scripts
|
Changelog for packaging-scripts
|
||||||
===============================
|
===============================
|
||||||
|
|
||||||
|
Version 1.6.1
|
||||||
|
-------------
|
||||||
|
|
||||||
|
* pug2
|
||||||
|
|
||||||
|
* Add description to help message
|
||||||
|
|
||||||
Version 1.6.0
|
Version 1.6.0
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
3
bin/pug2
3
bin/pug2
@ -25,6 +25,7 @@ CONFIG_OPTION_ENABLE = "RUN_ON_PACMAN_HOOK"
|
|||||||
CONFIG_OPTION_FILENAME = "GIST_FILENAME"
|
CONFIG_OPTION_FILENAME = "GIST_FILENAME"
|
||||||
CONFIG_OPTION_ID = "GIST_ID"
|
CONFIG_OPTION_ID = "GIST_ID"
|
||||||
|
|
||||||
|
DESCRIPTION = "Send a list of explicitly installed pacman packages to a gist"
|
||||||
|
|
||||||
# ========== Functions ==========
|
# ========== Functions ==========
|
||||||
def extract_gist_id(url):
|
def extract_gist_id(url):
|
||||||
@ -71,7 +72,7 @@ def package_lists_match(gist_id):
|
|||||||
|
|
||||||
# ========== Main Script ==========
|
# ========== Main Script ==========
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser(description=DESCRIPTION)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-c",
|
"-c",
|
||||||
"--check-if-enabled",
|
"--check-if-enabled",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user