[Pkg-javascript-commits] [acorn] 18/19: Update the man page

Julien Puydt julien.puydt at laposte.net
Fri Nov 25 08:13:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository acorn.

commit 48a968a3cae4b23a97e66e174a58aaa0951c14ac
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Nov 25 08:32:36 2016 +0100

    Update the man page
---
 debian/changelog       |  1 +
 debian/man/acorn.1.xml | 41 ++++++++++++++++++++++++++++++++++++-----
 2 files changed, 37 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e24cabd..21caa4b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ acorn (4.0.3-1) UNRELEASED; urgency=medium
   * Disable autotests : they don't work anymore.
   * Add lintian overrides for autogenerated code we have the generator for.
   * Fix /usr/bin/acorn so it works
+  * Update the manpage.
 
  -- Julien Puydt <julien.puydt at laposte.net>  Tue, 15 Nov 2016 18:10:46 +0100
 
diff --git a/debian/man/acorn.1.xml b/debian/man/acorn.1.xml
index a01e8ec..96ff4bb 100644
--- a/debian/man/acorn.1.xml
+++ b/debian/man/acorn.1.xml
@@ -19,12 +19,20 @@
         <arg choice='opt'><option>--ecma3</option></arg>
         <arg choice='opt'><option>--ecma5</option></arg>
         <arg choice='opt'><option>--ecma6</option></arg>
+        <arg choice='opt'><option>--ecma7</option></arg>
+        <arg choice='opt'><option>...</option></arg>
+	<arg choice='opt'><option>--ecma2015</option></arg>
+	<arg choice='opt'><option>--ecma2016</option></arg>
       </group>
-      <arg choice='opt'><option>--strictSemicolons</option></arg>
+      <arg choice='opt'><option>--tokenize</option></arg>
       <arg choice='opt'><option>--locations</option></arg>
+      <arg choice='opt'><option>--allow-hash-bang</option></arg>
       <arg choice='opt'><option>--compact</option></arg>
       <arg choice='opt'><option>--silent</option></arg>
+      <arg choice='opt'><option>--module</option></arg>
       <arg choice='opt'><option>--help</option></arg>
+      <arg choice='opt'><option>--</option></arg>
+      <arg choice='opt'><option>infile</option></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
@@ -47,20 +55,23 @@
         <term><option>--ecma3</option></term>
         <term><option>--ecma5</option></term>
         <term><option>--ecma6</option></term>
+        <term><option>--ecma7</option></term>
+        <term><option>...</option></term>
+        <term><option>--ecma2015</option></term>
+        <term><option>--ecma2016</option></term>
         <listitem>
           <para>
             Sets the ECMAScript version to parse.
-            Default is version 5.
+            Default is version 7.
           </para>
         </listitem>
       </varlistentry>
 
       <varlistentry>
-        <term><option>--strictSemicolons</option></term>
+        <term><option>--tokenize</option></term>
         <listitem>
           <para>
-            Prevents the parser from doing automatic semicolon insertion.
-            Statements that do not end in semicolons will generate an error.
+	    Tokenizer mode of the parser.
           </para>
         </listitem>
       </varlistentry>
@@ -77,6 +88,15 @@
       </varlistentry>
 
       <varlistentry>
+        <term><option>--allow-hash-bang</option></term>
+        <listitem>
+          <para>
+	    If enabled, skip the leading hashbang line.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
         <term><option>--compact</option></term>
         <listitem>
           <para>
@@ -95,6 +115,17 @@
       </varlistentry>
 
       <varlistentry>
+        <term><option>--module</option></term>
+        <listitem>
+          <para>
+            Indicates the code shouldn't be parsed as a script but as a module.
+	    This influences global strict mode and 'import' and 'export'
+	    declarations.
+          </para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
         <term><option>--help</option></term>
         <listitem>
           <para>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/acorn.git



More information about the Pkg-javascript-commits mailing list