Commit d1bf286
committed
show_help: convert opal_show_[v]help back into a function
Commit a525e70 converted opal_show_[v]help into global function
pointer variables that were re-assigned a few times during the
lifecycle of an application. This allows calls top
opal_show_[v]help() to emit error messages different ways at different
times -- e.g., before various subsystems were initialized, after they
were initialized, and after they were shutdown.
Long ago, however, the show_help infrastructure was converted to use
PMIx under the covers, and this switcharoo was no longer necessary.
Specifically: show_help always just calls PMIx and PMIx does the Right
Things during at different stages of the process lifecycle. This
commit changes opal_show_[v]help back to be a regular function -- not
a function pointer.
Signed-off-by: Jeff Squyres <jeff@squyres.com>1 parent a1ac81e commit d1bf286
2 files changed
+7
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 56 | | |
61 | 57 | | |
62 | 58 | | |
| |||
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 64 | | |
72 | 65 | | |
73 | 66 | | |
| |||
269 | 262 | | |
270 | 263 | | |
271 | 264 | | |
272 | | - | |
273 | | - | |
| 265 | + | |
| 266 | + | |
274 | 267 | | |
275 | 268 | | |
276 | 269 | | |
| |||
285 | 278 | | |
286 | 279 | | |
287 | 280 | | |
288 | | - | |
289 | | - | |
| 281 | + | |
290 | 282 | | |
291 | 283 | | |
292 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
| 131 | + | |
| 132 | + | |
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
139 | | - | |
140 | | - | |
141 | | - | |
| 138 | + | |
| 139 | + | |
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
| |||
0 commit comments