Permalink
Browse files

Update doc for new arguments

  • Loading branch information...
1 parent 19c3eb1 commit 9725596564753c983362aa93d88da1b55fef9cf5 @mdr mdr committed Jul 7, 2010
Showing with 21 additions and 4 deletions.
  1. +8 −0 README.rst
  2. +13 −4 docs/source/README.rst
View
@@ -57,6 +57,7 @@ Usage::
[+|-]alignParameters Enable/disable Align parameters on different lines in the same column
[+|-]compactStringConcatenation Enable/disable Omit spaces when formatting a '+' operator on String literals
[+|-]doubleIndentClassDeclaration Enable/disable Double indent either a class's parameters or its inheritance list
+ [+|-]formatXml Enable/disable Format XML literals
-indentSpaces=[1-10] Set Number of spaces to use for indentation
[+|-]preserveSpaceBeforeArguments Enable/disable Preserve a space before a parenthesis argument
[+|-]rewriteArrowSymbols Enable/disable Replace arrow tokens with unicode equivalents: => with ⇒, and <- with ←
@@ -149,6 +150,13 @@ Or::
def firstMethod = ...
}
+formatXml
+~~~~~~~~~
+
+Default: ``true``
+
+Format embedded XML literals .
+
indentSpaces
~~~~~~~~~~~~
@@ -47,15 +47,17 @@ Usage::
scalariform [options] [files...]
Options:
- --help, -h Show help
- --inPlace, -i Replace the input file(s) in place with a formatted version.
- --test, -t Check the input(s) to see if they are correctly formatted, return a non-zero error code if not.
- --verbose -v Verbose output
+ --help, -h Show help
+ --inPlace, -i Replace the input file(s) in place with a formatted version.
+ --test, -t Check the input(s) to see if they are correctly formatted, return a non-zero error code if not.
+ --fileList=<path>, -l=<path> Read the list of input file(s) from a text file (one per line)
+ --verbose -v Verbose output
Preferences:
[+|-]alignParameters Enable/disable Align parameters on different lines in the same column
[+|-]compactStringConcatenation Enable/disable Omit spaces when formatting a '+' operator on String literals
[+|-]doubleIndentClassDeclaration Enable/disable Double indent either a class's parameters or its inheritance list
+ [+|-]formatXml Enable/disable Format XML literals
-indentSpaces=[1-10] Set Number of spaces to use for indentation
[+|-]preserveSpaceBeforeArguments Enable/disable Preserve a space before a parenthesis argument
[+|-]rewriteArrowSymbols Enable/disable Replace arrow tokens with unicode equivalents: => with ⇒, and <- with ←
@@ -148,6 +150,13 @@ Or::
def firstMethod = ...
}
+formatXml
+~~~~~~~~~
+
+Default: ``true``
+
+Format embedded XML literals .
+
indentSpaces
~~~~~~~~~~~~

0 comments on commit 9725596

Please sign in to comment.