aboutsummaryrefslogtreecommitdiff
path: root/printing
diff options
context:
space:
mode:
authorPierre Courtieu2014-12-15 17:43:14 +0100
committerPierre Courtieu2014-12-15 17:43:35 +0100
commit4fec6bdf0ad0f49c98a82538c5caf4511ba5e95c (patch)
tree4a713cdd2e77f1332c24dcc017de38933645b65d /printing
parent5e206cc563471ec61e320ba0e7066604d5671f10 (diff)
About now accepts hypothesis names and goal selector.
Diffstat (limited to 'printing')
-rw-r--r--printing/ppvernac.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/printing/ppvernac.ml b/printing/ppvernac.ml
index 2755b98c64..eca67ad86a 100644
--- a/printing/ppvernac.ml
+++ b/printing/ppvernac.ml
@@ -500,8 +500,9 @@ module Make
keyword "Print Scope" ++ spc() ++ str s
| PrintVisibility s ->
keyword "Print Visibility" ++ pr_opt str s
- | PrintAbout qid ->
- keyword "About" ++ spc() ++ pr_smart_global qid
+ | PrintAbout (qid,gopt) ->
+ pr_opt (fun g -> int g ++ str ":"++ spc()) gopt
+ ++ keyword "About" ++ spc() ++ pr_smart_global qid
| PrintImplicit qid ->
keyword "Print Implicit" ++ spc() ++ pr_smart_global qid
(* spiwack: command printing all the axioms and section variables used in a