Skip to content

Commit

Permalink
refactor: combine open launch args (#364)
Browse files Browse the repository at this point in the history
Combine the `--open` and `-o` launch arguments into a single argument option.
  • Loading branch information
UnusualEgg authored Aug 23, 2024
1 parent ec960f2 commit 3fcf602
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tagstudio/tag_studio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit 3fcf602

Please sign in to comment.