domyd / mlp

A Dolby TrueHD demuxer and utility tool, with a focus on accurate and correct TrueHD demuxing.
Apache License 2.0
64 stars 2 forks source link

Feature Request - Full Help Switch #8

Open AYColumbia opened 3 years ago

AYColumbia commented 3 years ago

Would be nice to have something like --full-help that dumps out all the available help text. Thank you.

domyd commented 3 years ago

How do you mean? Can you give an example?

AYColumbia commented 3 years ago

Hi Dom, Similar to ffmpeg -h full for example. I use a batch file to generate a "full" help for mlp like below. Appreciate you considering it.

TrueHD Demuxer 0.5.0
Dominik Mydlil <dominik.mydlil@outlook.com>
A Dolby TrueHD demuxer and utility tool

USAGE:
    mlp [FLAGS] [SUBCOMMAND]

FLAGS:
        --enable-ffmpeg-log    
            The verbosity of the FFmpeg log output will be determined from the -v flag: 
                not set (0): info
                -v      (1): verbose
                -vv     (2): debug
                -vvv    (3): trace
    -f, --force                
            Overwrite existing output files.

    -h, --help                 
            Prints help information

    -v                         
            Sets the output verbosity.

    -V, --version              
            Prints version information

SUBCOMMANDS:
    demux    
            Demux TrueHD stream from blu-ray files.

    help     
            Prints this message or the help of the given subcommand(s)

    info     
            Prints information about the TrueHD stream.

This software uses libraries from the FFmpeg project under the LGPLv2.1.
===========================
mlp-demux 
Demux TrueHD stream from blu-ray files.

USAGE:
    mlp demux [FLAGS] [SUBCOMMAND]

FLAGS:
        --enable-ffmpeg-log    Enable FFmpeg log output.
    -f, --force                Overwrite existing output files.
    -h, --help                 Prints help information
    -v                         Sets the output verbosity.
    -V, --version              Prints version information

SUBCOMMANDS:
    help        Prints this message or the help of the given subcommand(s)
    playlist    Demux from a blu-ray playlist file.
    segments    Demux from blu-ray media files.
===========================
mlp-demux-playlist 
Demux from a blu-ray playlist file.

USAGE:
    mlp demux playlist [FLAGS] [OPTIONS] <PLAYLIST>

ARGS:
    <PLAYLIST>    Sets the path to the playlist file (.mpls).

FLAGS:
        --enable-ffmpeg-log    Enable FFmpeg log output.
    -f, --force                Overwrite existing output files.
    -h, --help                 Prints help information
    -v                         Sets the output verbosity.
    -V, --version              Prints version information

OPTIONS:
        --angle <ANGLE>      Sets the playlist angle index, starting at 1. [default: 1]
    -o, --output <OUTPUT>    Sets the output TrueHD file. If omitted, playlist info will be printed instead.
===========================
mlp-demux-segments 
Demux from blu-ray media files.

USAGE:
    mlp demux segments [FLAGS] [OPTIONS] --output <OUTPUT-FILE>

FLAGS:
        --enable-ffmpeg-log    Enable FFmpeg log output.
    -f, --force                Overwrite existing output files.
    -h, --help                 Prints help information
    -v                         Sets the output verbosity.
    -V, --version              Prints version information

OPTIONS:
    -o, --output <OUTPUT-FILE>            Sets the output TrueHD file.
        --segment-files <SEGMENT-LIST>    Sets the list of file names, separated by +.
    -l, --segment-list <SEGMENT-LIST>     Sets the comma-separated list of TrueHD segments.
    -s, --stream-dir <DIRECTORY>          Sets the directory that contains the m2ts source files.
===========================
mlp-info 
Prints information about the TrueHD stream.

USAGE:
    mlp info [FLAGS] <STREAM>

ARGS:
    <STREAM>    

FLAGS:
        --enable-ffmpeg-log    Enable FFmpeg log output.
    -f, --force                Overwrite existing output files.
    -h, --help                 Prints help information
    -v                         Sets the output verbosity.
    -V, --version              Prints version information