refactor: combine open launch args (#364)

Combine the `--open` and `-o` launch arguments into a single argument option.
This commit is contained in:
UnusualEgg
2024-08-22 21:02:03 -04:00
committed by GitHub
parent ec960f2372
commit 3fcf6022b9

View File

@@ -17,14 +17,9 @@ def main():
# Parse arguments.
parser = argparse.ArgumentParser()
parser.add_argument(
"--open",
dest="open",
type=str,
help="Path to a TagStudio Library folder to open on start.",
)
parser.add_argument(
"-o",
"--open",
dest="open",
type=str,
help="Path to a TagStudio Library folder to open on start.",