| summaryrefslogtreecommitdiff |
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2020-08-26 11:07:08 +0200 |
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2020-08-26 11:07:08 +0200 |
| commit | 712e11f17c8e7147b6fce5063f68e51315d5fc09 (patch) | |
| tree | 45a0534e9db7140e53aca81c820da950482cf124 /src/json-export | |
| parent | 1d6845edc3b9127aed8ad05e68387bd8590efa5a (diff) | |
| parent | 6aec0ce0fb005457b53633b9599998117a1003cf (diff) | |
Merge branch 'master' of dreamhost:~/repositories/git/tonkadur
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"); + } } |


