add .py
file extension to the script files so they get proper syntax highlighting
This commit is contained in:
parent
7e1ed655ce
commit
185b304868
2 changed files with 5 additions and 5 deletions
|
@ -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",
|
|
@ -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(
|
Loading…
Reference in a new issue