Skip to content

Commit d3cd58d

Browse files
UnusualEggCyanVoxel
authored andcommitted
refactor: combine open launch args (#364)
Combine the `--open` and `-o` launch arguments into a single argument option.
1 parent 6b15a58 commit d3cd58d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tagstudio/tag_studio.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,9 @@ def main():
1717

1818
# Parse arguments.
1919
parser = argparse.ArgumentParser()
20-
parser.add_argument(
21-
"--open",
22-
dest="open",
23-
type=str,
24-
help="Path to a TagStudio Library folder to open on start.",
25-
)
2620
parser.add_argument(
2721
"-o",
22+
"--open",
2823
dest="open",
2924
type=str,
3025
help="Path to a TagStudio Library folder to open on start.",

0 commit comments

Comments
 (0)