With the command line tools I've built with Swift in Xcode there is an option to print the help text. When there is more text than the height of the terminal window it scrolls past the start of the help text. When viewing man pages the text is automatically paged like it is using the more command.

Is there a way to get this behavior with a command line tool built in Xcode?

0

There are 0 answers