mercurial/commands.py
changeset 30899 a8786013f056
parent 30892 441705506d24
child 30916 455677a7667f
--- a/mercurial/commands.py	Thu Feb 09 09:32:25 2017 -0800
+++ b/mercurial/commands.py	Fri Feb 10 15:26:03 2017 -0800
@@ -4129,8 +4129,9 @@
     Import a list of patches and commit them individually (unless
     --no-commit is specified).
 
-    To read a patch from standard input, use "-" as the patch name. If
-    a URL is specified, the patch will be downloaded from there.
+    To read a patch from standard input (stdin), use "-" as the patch
+    name. If a URL is specified, the patch will be downloaded from
+    there.
 
     Import first applies changes to the working directory (unless
     --bypass is specified), import will abort if there are outstanding
@@ -4200,6 +4201,10 @@
 
           hg import incoming-patches.mbox
 
+      - import patches from stdin::
+
+          hg import -
+
       - attempt to exactly restore an exported changeset (not always
         possible)::