add .py file extension to the script files so they get proper syntax highlighting

This commit is contained in:
Seaswimmer 2024-11-22 09:52:38 -05:00
parent 7e1ed655ce
commit 185b304868
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
2 changed files with 5 additions and 5 deletions

View file

@ -62,7 +62,7 @@ def spectacle_screenshot(
try:
opts = [
"/etc/nixos/scripts/zipline",
"/etc/nixos/scripts/zipline.py",
file_path,
"--application-name",
"Spectacle",
@ -89,9 +89,9 @@ def spectacle_screenshot(
if __name__ == "__main__":
parser = argparse.ArgumentParser(
prog="spectacle-screenshot",
prog="spectacle-screenshot.py",
description="Take a screenshot or recording with Spectacle and automatically upload it to a Zipline instance.",
epilog="Example usage: spectacle-screenshot",
epilog="Example usage: spectacle-screenshot.py",
)
parser.add_argument(
"--url",

View file

@ -105,9 +105,9 @@ def zipline(
if __name__ == "__main__":
parser = argparse.ArgumentParser(
prog="zipline",
prog="zipline.py",
description="Upload a file to a Zipline instance.",
epilog="Example usage: zipline /path/to/file.txt",
epilog="Example usage: zipline.py /path/to/file.txt",
)
parser.add_argument("file", help="The file to upload.")
parser.add_argument(