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 Travis Abendshien
parent 6b15a58e3f
commit d3cd58df47

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.",