[58045] trunk/doc-new/guide/xml/portfile-variants.xml

ryandesign at macports.org ryandesign at macports.org
Mon Sep 21 01:40:27 PDT 2009


Revision: 58045
          http://trac.macports.org/changeset/58045
Author:   ryandesign at macports.org
Date:     2009-09-21 01:40:23 -0700 (Mon, 21 Sep 2009)
Log Message:
-----------
portfile-variants.xml: Correct the documentation on valid characters in variant names (numbers are allowed) and explain why the hyphen is not allowed

Modified Paths:
--------------
    trunk/doc-new/guide/xml/portfile-variants.xml

Modified: trunk/doc-new/guide/xml/portfile-variants.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-variants.xml	2009-09-21 07:55:27 UTC (rev 58044)
+++ trunk/doc-new/guide/xml/portfile-variants.xml	2009-09-21 08:40:23 UTC (rev 58045)
@@ -20,9 +20,10 @@
     <code>default_variants</code> (see below).</para>
 
     <note>
-      <para>Variant names may contain only the characters A-Z, a-z, and the
-      underscore character <quote>_</quote>. Therefore, take care to never use
-      hyphens in variant names.</para>
+      <para>Variant names may contain only letters, numbers and underscore
+      characters. In particular, the hyphen is not a valid character in
+      variant names because it would conflict with the notation for deselecting
+      a variant.</para>
     </note>
 
     <variablelist>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090921/9384afee/attachment.html>


More information about the macports-changes mailing list