mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-01-31 07:10:45 +00:00
refactor: combine open launch args (#364)
Combine the `--open` and `-o` launch arguments into a single argument option.
This commit is contained in:
committed by
Travis Abendshien
parent
6b15a58e3f
commit
d3cd58df47
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user