Skip to content

Commit

Permalink
Update the doc of the -T command line option
Browse files Browse the repository at this point in the history
It now says that -T disables the break loop and printing tracebacks.

Fixes #2546.
  • Loading branch information
ssiccha authored and ChrisJefferson committed Jun 18, 2018
1 parent 94eed8a commit f7295a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/ref/run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,8 @@ option.
<C>-T</C></Mark>
<Item>
suppresses the usual break loop behaviour of &GAP;. With this option
&GAP; behaves as if the user <K>quit</K> immediately from every break loop.
&GAP; behaves as if the user <K>quit</K> immediately from every break loop,
and also suppresses displaying any error backtrace.
This is intended for automated testing of &GAP;. This option may be
repeated to toggle this behavior on and off.
</Item>
Expand Down
2 changes: 1 addition & 1 deletion lib/system.g
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ BIND_GLOBAL( "GAPInfo", rec(
rec( short:= "M", default := false, help := ["disable/enable loading of compiled modules"] ),
rec( short:= "N", default := false, help := ["do not use hidden implications"] ),
rec( short:= "O", default := false, help := ["disable/enable loading of obsolete files"] ),
rec( short:= "T", default := false, help := ["disable/enable break loop"] ),
rec( short:= "T", default := false, help := ["disable/enable break loop and error traceback"] ),
rec( long := "quitonbreak", default := false, help := ["quit GAP with non-zero return value instead of entering break loop"]),
,
rec( short:= "L", default := "", arg := "<file>", help := [ "restore a saved workspace"] ),
Expand Down

0 comments on commit f7295a7

Please sign in to comment.