help option: --help – basics v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Mon, 16 Dec 2013 20:42:45 +0100
branchv_0
changeset 19873669135d97
parent 18 7900bb1666f6
child 20 e225bdcd260e
help option: --help – basics
java/sql-dk/data/info/globalcode/sql/dk/help.txt
java/sql-dk/src/info/globalcode/sql/dk/Constants.java
java/sql-dk/src/info/globalcode/sql/dk/InfoLister.java
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/sql-dk/data/info/globalcode/sql/dk/help.txt	Mon Dec 16 20:42:45 2013 +0100
     1.3 @@ -0,0 +1,1 @@
     1.4 +TODO: Some brief help…
     1.5 \ No newline at end of file
     2.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/Constants.java	Mon Dec 16 20:39:07 2013 +0100
     2.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/Constants.java	Mon Dec 16 20:42:45 2013 +0100
     2.3 @@ -26,6 +26,7 @@
     2.4  	public static final String WEBSITE = "https://sql-dk.globalcode.info/";
     2.5  	public static final String LICENSE_FILE = "info/globalcode/sql/dk/license.txt";
     2.6  	public static final String VERSION_FILE = "info/globalcode/sql/dk/version.txt";
     2.7 +	public static final String HELP_FILE = "info/globalcode/sql/dk/help.txt";
     2.8  
     2.9  	private Constants() {
    2.10  	}
     3.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/InfoLister.java	Mon Dec 16 20:39:07 2013 +0100
     3.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/InfoLister.java	Mon Dec 16 20:42:45 2013 +0100
     3.3 @@ -49,7 +49,7 @@
     3.4  					println("TODO: list available formatters");
     3.5  					break;
     3.6  				case HELP:
     3.7 -					println("TODO: show some help");
     3.8 +					printResource(Constants.HELP_FILE);
     3.9  					break;
    3.10  				case LICENSE:
    3.11  					printResource(Constants.LICENSE_FILE);