Skip to content

Commit e693c8c

Browse files
committed
add manual link to cli print reference
1 parent 5f5f3ef commit e693c8c

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

docs/reference/cli/cmd_print.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,16 @@ print [--gds --stack]
5959

6060
`print --gds`
6161

62-
The Goal Dependency Set (GDS) is described in a subsection of the `The Soar
63-
Architecture` chapter of the manual. This command is a debugging command for
64-
examining the GDS for each goal in the stack. First it steps through all the
65-
working memory elements in the rete, looking for any that are included in _any_
66-
goal dependency set, and prints each one. Then it also lists each goal in the
67-
stack and prints the wmes in the goal dependency set for that particular goal.
68-
This command is useful when trying to determine why subgoals are disappearing
69-
unexpectedly: often something has changed in the goal dependency set, causing a
70-
subgoal to be regenerated prior to producing a result.
62+
The Goal Dependency Set (GDS) is described in a subsection of the
63+
[The Soar Architecture](./../../soar_manual/02_TheSoarArchitecture.md#removal-of-substates-the-goal-dependency-set)
64+
chapter of the manual. This command is a debugging command for examining the GDS
65+
for each goal in the stack. First it steps through all the working memory
66+
elements in the rete, looking for any that are included in _any_ goal dependency
67+
set, and prints each one. Then it also lists each goal in the stack and prints
68+
the wmes in the goal dependency set for that particular goal. This command is
69+
useful when trying to determine why subgoals are disappearing unexpectedly:
70+
often something has changed in the goal dependency set, causing a subgoal to be
71+
regenerated prior to producing a result.
7172

7273
`print --gds` is horribly inefficient and should not generally be used except
7374
when something is going wrong and you need to examine the Goal Dependency Set.
@@ -139,12 +140,14 @@ print s1 --depth 2 --tree
139140

140141
## Default Aliases
141142

143+
```bash
142144
p print
143145
pc print --chunks
144146
ps print --stack
145147
wmes print --depth 0 --internal
146148
varprint print --varprint --depth 100
147149
gds_print print --gds
150+
```
148151

149152
## See Also
150153

includes/abbreviations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
*[Tcl]: Tool Command Language
55
*[DARPA]: Defense Advanced Research Projects Agency
66
*[SML]: Soar Markup Language
7+
*[GDS]: Goal Dependency Set

0 commit comments

Comments
 (0)