Skip to content

Beta 5 help output places --help in the middle of arguments vs. end #2595

@ptr727

Description

@ptr727

In Beta 5 help is rendered is in the middle of arguments.
In Beta 4, and is typically expected, help is at the end of all arguments.

In this example the options rendered at the end, e.g. --logfile are created using Recursive = true, used to be global in Beta 4.

Beta 4:

> PlexCleaner process --help
Description:
  Process media files

Usage:
  PlexCleaner process [options]

Options:
  --settingsfile <settingsfile> (REQUIRED)  Path to settings file
  --mediafiles <mediafiles> (REQUIRED)      Path to media file or folder
  --parallel                                Enable parallel file processing
  --threadcount <threadcount>               Number of threads for parallel file processing
  --quickscan                               Scan only part of the file
  --resultsfile <resultsfile>               Path to results file
  --testsnippets                            Create short media file clips
  --logfile <logfile>                       Path to log file
  --logappend                               Append to existing log file
  --logwarning                              Log warnings and errors only
  --debug                                   Wait for debugger to attach
  -?, -h, --help                            Show help and usage information

Beta 5:

> PlexCleaner.exe process --help                                                                                                                                               
Description:
  Process media files

Usage:
  PlexCleaner process [options]

Options:
  --settingsfile (REQUIRED)  Path to settings file
  --mediafiles (REQUIRED)    Path to media file or folder
  --parallel                 Enable parallel file processing
  --threadcount              Number of threads for parallel file processing
  --quickscan                Scan only part of the file
  --resultsfile              Path to results file
  --testsnippets             Create short media file clips
  -?, -h, --help             Show help and usage information
  --logfile                  Path to log file
  --logappend                Append to existing log file
  --logwarning               Log warnings and errors only
  --debug                    Wait for debugger to attach

-?, -h, --help should be first or last, --version is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions