StanWarford / pep9suite

Pep9Suite is a suite of software for the Pep/9 virtual machine described in the text Computer Systems, J. Stanley Warford, fifth edition.
http://computersystemsbook.com
Other
16 stars 7 forks source link

Improved Terminal Help Documentation. #89

Closed Matthew-McRaven closed 4 years ago

Matthew-McRaven commented 4 years ago

This pull request improves the terminal help within Pep9Term.

The principle modes (ASM, RUN, CPUASM, CPURUN) of Pep9Term retain the same functionality as before. That means grading scripts will not need to be modified to use the new version of Pep9Term.

Each mode is a proper subcommand, meaing when you to call Pep9Term --help you get a better description of each mode than previously possible.

Screen Shot 2020-01-03 at 17 40 17

Additionally, invoking the application with --help-all details every available flag, as well as detailing which flags are required, and which combinations fo flags cannot be used together. Invoking pepterm MODE --help provides a similar level of detail for an individual mode.

Screen Shot 2020-01-03 at 17 41 16

These changes were made possible by another open-source C++11 library.