Skip to content

Formatting of the usage text #479

@ajtruckle

Description

@ajtruckle

Is it possible to have more control over how the usage is presented?

For example:

D:\My Programs\2017\OutlookCalIFConsole\OutlookCalIFConsole\bin\Release>outlookcalifconsole -p
OutlookCalIFConsole 1.0.0.0
Copyright c  2017

  -l, --list    Builds a list of available calendars. Eg: -l
                ".\CalendarList.xml"

  -m, --mode    Type of events to add to the calendar. Available modes: mwb.
                Eg: -m mwb

  -p, --path    Path to the events data file. Eg: -p ".\EventsToAdd.xml"

  --help        Display this help screen.```

How can I get it to line up the description nicer? They seem to arbitrarily wrap. I tried using `\n` but then it wrapped to start of the next line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions