changeset 23164:99ca557fd34f

maint: Use Octave whitespace conventions for scripts/general/inputParser.m. * inputParser.m: Use Octave whitespace conventions.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Wed, 08 Feb 2017 10:41:56 +0100
parents af64b6b61db9
children 5291b67ff124
files scripts/general/inputParser.m
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/general/inputParser.m	Tue Feb 07 21:55:34 2017 -0800
+++ b/scripts/general/inputParser.m	Wed Feb 08 10:41:56 2017 +0100
@@ -274,16 +274,16 @@
   properties (Access = protected)
     ## Since Required and Optional are ordered, they get a cell array of
     ## structs with the fields "name", "def" (default), and "val" (validator).
-    Required   = cell ();
-    Optional   = cell ();
+    Required = cell ();
+    Optional = cell ();
     ## Parameter and Switch are unordered so we have a struct whose fieldnames
     ## are the argname, and values are a struct with fields "def" and "val"
-    Parameter  = struct ();
-    Switch     = struct ();
+    Parameter = struct ();
+    Switch    = struct ();
 
     ## List of Parameter and Switch names to ease searches
     ParameterNames = cell ();
-    SwitchNames     = cell ();
+    SwitchNames    = cell ();
 
     ## When checking for fieldnames in a Case Insensitive way, this variable
     ## holds the correct identifier for the last searched named using the