| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-08-25 23:18:12 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-08-25 23:18:12 +0200 |
| commit | 8f1702278c55cb2f55ef7ca7d26d46e96ceffd73 (patch) | |
| tree | 40758443de000ed9ef13ad3e720f55f061897afd /src/json-export | |
| parent | f745cf10b898eafbe4fe781b05d243d5e32f72bc (diff) | |
Version 0.9.0 release.
Diffstat (limited to 'src/json-export')
| -rw-r--r-- | src/json-export/src/tonkadur/plugin/JSONExport.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/json-export/src/tonkadur/plugin/JSONExport.java b/src/json-export/src/tonkadur/plugin/JSONExport.java index 1e5a070..74db24d 100644 --- a/src/json-export/src/tonkadur/plugin/JSONExport.java +++ b/src/json-export/src/tonkadur/plugin/JSONExport.java @@ -44,7 +44,10 @@ public class JSONExport extends TonkadurPlugin output_file = args_it.next(); - break; + } + else if (option.equals("--legal")) + { + print_license(); } } @@ -73,4 +76,9 @@ public class JSONExport extends TonkadurPlugin { System.out.println(" -o|--output <file>\t\tOutput to <file>."); } + + protected static void print_license () + { + System.out.println("This version of Tonkadur ships with a copy of the json-simple library, whose license is available at https://github.com/fangyidong/json-simple/blob/master/LICENSE.txt"); + } } |


