0

I'm looking to include program usage in a Sphinx document, but am having trouble enclosing the text in a block.

There are blank spaces in my text. Example:

Proper usage of script.py

  usage: script.py [-h] [-q] [-v] [-D DAYS] [-H HOURS] [-M MINUTES] [-x] -s
                     SERVER -d DATABASE -u USERNAME -p PASSWORD

  Run some funky stuff
Larry G. Wapnitsky
  • 1,216
  • 2
  • 16
  • 35

1 Answers1

1

There are a number of options here depending on what you want:

Kevin Horn
  • 4,167
  • 28
  • 30