summaryrefslogtreecommitdiff
path: root/writer
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-07-06 16:32:31 -0400
committera1xd <[email protected]>2021-07-06 16:32:31 -0400
commit1e6f6c5facedf9089ab9f67a203b16b19d94f7cb (patch)
treeab5a55c7d96c8cb9fdade655e3c736cb3dd4de46 /writer
parentfix typo and wrapper/input code from lut2 merge (diff)
downloadrawaccel-1e6f6c5facedf9089ab9f67a203b16b19d94f7cb.tar.xz
rawaccel-1e6f6c5facedf9089ab9f67a203b16b19d94f7cb.zip
use standard syntax for writer options
seems like a good idea considering that these are undocumented, for now
Diffstat (limited to 'writer')
-rw-r--r--writer/Program.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/writer/Program.cs b/writer/Program.cs
index 6cbcf8e..724fa23 100644
--- a/writer/Program.cs
+++ b/writer/Program.cs
@@ -47,7 +47,7 @@ namespace writer
string settingsPath = null;
- string tablePath = maybePop("table", "t");
+ string tablePath = maybePop("/table", "/t");
if (tablePath != null)
{
@@ -57,8 +57,8 @@ namespace writer
return new ExtendedSettings(Read(settingsPath), Read(tablePath));
}
- string xTablePath = maybePop("xtable", "xt");
- string yTablePath = maybePop("ytable", "yt");
+ string xTablePath = maybePop("/xtable", "/xt");
+ string yTablePath = maybePop("/ytable", "/yt");
if (args.Count > 1) ExitWithUsage();
else if (args.Count == 1) settingsPath = args[0];