commandlineparser / commandlineparser/commandline

commandline/src/CommandLine/Text/HelpText.cs AddLine() calls value.Trim() stripping out example spacing

Aperta
#236 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

In generating help text spacing is supposed to be prefixed to the start of the line to make Usage sections easier to read.

AddLine() calls .Trim() which removes spacing from the start of the line. Since whitespace is used for formatting it should not be calling Trim()

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.