[153135] trunk/doc-new/guide/xml/using.xml

jmr at macports.org jmr at macports.org
Sun Sep 25 06:08:32 PDT 2016


Revision: 153135
          https://trac.macports.org/changeset/153135
Author:   jmr at macports.org
Date:     2016-09-25 06:08:32 -0700 (Sun, 25 Sep 2016)
Log Message:
-----------
guide: tweak Finding Leaves section and mention --follow-dependencies

Modified Paths:
--------------
    trunk/doc-new/guide/xml/using.xml

Modified: trunk/doc-new/guide/xml/using.xml
===================================================================
--- trunk/doc-new/guide/xml/using.xml	2016-09-25 12:51:16 UTC (rev 153134)
+++ trunk/doc-new/guide/xml/using.xml	2016-09-25 13:08:32 UTC (rev 153135)
@@ -1294,10 +1294,15 @@
 
             <programlisting><prompt>$ </prompt><userinput>sudo port uninstall leaves</userinput></programlisting>
 
-            <para>Note that the uninstallation can mark new ports as leaves. To uninstall all leaves, you have to repeat
-                the process until <command>port echo leaves</command> comes back empty. To simplify this, consider
-                installing the <option>port_cutleaves</option> port and running <command>sudo
-                    port_cutleaves</command>.</para>
+            <para>Note that the uninstallation can cause new ports to become leaves. To uninstall all leaves, you would have to repeat
+                the process until <command>port echo leaves</command> comes back empty. To automate this, you can use
+                <option>--follow-dependencies</option> when uninstalling.</para>
+
+            <programlisting><prompt>$ </prompt><userinput>sudo port uninstall --follow-dependencies leaves</userinput></programlisting>
+
+                <para>To go through this process interactively so you can make sure you're not uninstalling anything you want to keep,
+                you can install the <option>port_cutleaves</option> port. After installation, run it with</para>
+                <programlisting><prompt>$ </prompt><userinput>sudo port_cutleaves</userinput></programlisting>
         </section>
 
         <section id="using.common-tasks.keeplean">
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160925/bc5f88d0/attachment.html>


More information about the macports-changes mailing list