From a6aadff6db534bb9504133d660ca623a7dcee942 Mon Sep 17 00:00:00 2001 From: minaminao Date: Tue, 14 Feb 2023 11:32:09 +0900 Subject: [PATCH 1/2] fix: description of `wtns export json` --- build/cli.cjs | 3 +-- cli.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/build/cli.cjs b/build/cli.cjs index e5f5dd61..6750602c 100755 --- a/build/cli.cjs +++ b/build/cli.cjs @@ -12455,8 +12455,7 @@ const commands = [ }, { cmd: "wtns export json [witness.wtns] [witnes.json]", - description: "Calculate the witness with debug info.", - longDescription: "Calculate the witness with debug info. \nOptions:\n-g or --g : Log signal gets\n-s or --s : Log signal sets\n-t or --trigger : Log triggers ", + description: "Export a witness to a JSON file", options: "-verbose|v", alias: ["wej"], action: wtnsExportJson diff --git a/cli.js b/cli.js index c9eace1e..3d5b657e 100755 --- a/cli.js +++ b/cli.js @@ -167,8 +167,7 @@ const commands = [ }, { cmd: "wtns export json [witness.wtns] [witnes.json]", - description: "Calculate the witness with debug info.", - longDescription: "Calculate the witness with debug info. \nOptions:\n-g or --g : Log signal gets\n-s or --s : Log signal sets\n-t or --trigger : Log triggers ", + description: "Export a witness to a JSON file", options: "-verbose|v", alias: ["wej"], action: wtnsExportJson From 7baa5c57dce9a5cbfaf85dbd8a43bb1b84a2c24f Mon Sep 17 00:00:00 2001 From: minaminao Date: Tue, 14 Feb 2023 11:34:49 +0900 Subject: [PATCH 2/2] chore: remove trailing dots --- build/cli.cjs | 6 +++--- cli.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build/cli.cjs b/build/cli.cjs index 6750602c..8e9c2d4a 100755 --- a/build/cli.cjs +++ b/build/cli.cjs @@ -12447,7 +12447,7 @@ const commands = [ }, { cmd: "wtns debug [circuit.wasm] [input.json] [witness.wtns] [circuit.sym]", - description: "Calculate the witness with debug info.", + description: "Calculate the witness with debug info", longDescription: "Calculate the witness with debug info. \nOptions:\n-g or --g : Log signal gets\n-s or --s : Log signal sets\n-t or --trigger : Log triggers ", options: "-get|g -set|s -trigger|t", alias: ["wd"], @@ -12530,7 +12530,7 @@ const commands = [ }, { cmd: "zkey export soliditycalldata [public.json] [proof.json]", - description: "Generates call parameters ready to be called.", + description: "Generates call parameters ready to be called", alias: ["zkesc", "generatecall -pub|public -p|proof"], action: zkeyExportSolidityCalldata }, @@ -12640,7 +12640,7 @@ TODO COMMANDS { cmd: "zksnark setup [circuit.r1cs] [circuit.zkey] [verification_key.json]", - description: "Run a simple setup for a circuit generating the proving key.", + description: "Run a simple setup for a circuit generating the proving key", alias: ["zs", "setup -r1cs|r -provingkey|pk -verificationkey|vk"], options: "-verbose|v -protocol", action: zksnarkSetup diff --git a/cli.js b/cli.js index 3d5b657e..14c2aef3 100755 --- a/cli.js +++ b/cli.js @@ -159,7 +159,7 @@ const commands = [ }, { cmd: "wtns debug [circuit.wasm] [input.json] [witness.wtns] [circuit.sym]", - description: "Calculate the witness with debug info.", + description: "Calculate the witness with debug info", longDescription: "Calculate the witness with debug info. \nOptions:\n-g or --g : Log signal gets\n-s or --s : Log signal sets\n-t or --trigger : Log triggers ", options: "-get|g -set|s -trigger|t", alias: ["wd"], @@ -242,7 +242,7 @@ const commands = [ }, { cmd: "zkey export soliditycalldata [public.json] [proof.json]", - description: "Generates call parameters ready to be called.", + description: "Generates call parameters ready to be called", alias: ["zkesc", "generatecall -pub|public -p|proof"], action: zkeyExportSolidityCalldata }, @@ -352,7 +352,7 @@ TODO COMMANDS { cmd: "zksnark setup [circuit.r1cs] [circuit.zkey] [verification_key.json]", - description: "Run a simple setup for a circuit generating the proving key.", + description: "Run a simple setup for a circuit generating the proving key", alias: ["zs", "setup -r1cs|r -provingkey|pk -verificationkey|vk"], options: "-verbose|v -protocol", action: zksnarkSetup