Skip to content

Commit

Permalink
command cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NiNiyas committed Aug 31, 2022
1 parent ff18fcc commit d979e9c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,18 +361,14 @@ def parse_args(self):

# Mode
parser.add_argument('cmd',
choices=('sections', 'sections+', 'server', 'authorize', 'build_caches', 'update_config',
'jesections'),
choices=('sections', 'server', 'authorize', 'build_caches', 'update_config', 'jesections'),
help=(
'"sections": Prints Plex Sections.\n'
'"sections+": Prints Plex Sections with more details.\n'
'"sections": Prints Plex Sections with more details.\n'
'"jesections": Prints Jellyfin/Emby library paths.\n'
'"server": Starts the application.\n'
'"authorize": Authorize against a Google account.\n'
'"build_caches": Build complete Google Drive caches.\n'
'"update_config": Perform upgrade of config.'
)
)
'"update_config": Perform upgrade of config.'))

# Config file
parser.add_argument(self.base_settings['config']['argv'],
Expand Down

0 comments on commit d979e9c

Please sign in to comment.