diff --git a/README.md b/README.md
index 135846d..380ec03 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ The code base of *tiny-weka* is synced (manually) with Weka's subversion reposit
revision:
```
-31f46b79 # git commit hash
+r3cbb52f21 # git commit hash
```
## Maven
@@ -64,14 +64,14 @@ Python script.
usage: update.py [-h] -w, --weka DIR -c, --commit HASH [-g, --git EXECUTABLE]
[-n, --dry_run] [-v, --verbose]
-Analyzes the git log from the specified revision on and then updates the code
-accordingly. It stores the start/end git hash in 'update.rev' after execution.
+Analyzes the git log from the specified commit hash on and then updates the
+code accordingly. It stores the start/end git commit hash in 'update.rev'
+after execution.
optional arguments:
-h, --help show this help message and exit
- -w, --weka DIR the directory with the Weka subversion repository
- (HEAD)
- -c, --commit HASH the git hash to start from
+ -w, --weka DIR the directory with the Weka git clone (HEAD)
+ -c, --commit HASH the git commit hash to start from
-g, --git EXECUTABLE the git executable to use if not on the path
-n, --dry_run whether to perform a dry run, i.e., only simulating
the update
@@ -80,7 +80,7 @@ optional arguments:
Example:
-```commandline
+```bash
python3 update.py \
-w /some/where/weka-HEAD/ \
-c 87a3264c \
@@ -104,22 +104,18 @@ The `remove_gpl.py` script can be used to remove the GPL preamble from any
Java file that still contains it, e.g., when manually copying over files.
```
-usage: update.py [-h] -w, --weka DIR -c, --commit HASH [-g, --git EXECUTABLE]
- [-n, --dry_run] [-v, --verbose]
+usage: remove_gpl.py [-h] -d, --dir DIR [-r, --recursive] [-n, --dry_run]
+ [-v, --verbose]
-Analyzes the git log from the specified commit hash on and then updates the
-code accordingly. It stores the start/end git commit hash in 'update.rev'
-after execution.
+Removes the GPL preamble from Java source code files.
optional arguments:
- -h, --help show this help message and exit
- -w, --weka DIR the directory with the Weka subversion repository
- (HEAD)
- -c, --commit HASH the git commit hash to start from
- -g, --git EXECUTABLE the git executable to use if not on the path
- -n, --dry_run whether to perform a dry run, i.e., only simulating
- the update
- -v, --verbose whether to be verbose with the output
+ -h, --help show this help message and exit
+ -d, --dir DIR the directory with source code files to process
+ -r, --recursive whether to search for source code files recursively
+ -n, --dry_run whether to perform a dry run, i.e., only simulating the
+ removal
+ -v, --verbose whether to be verbose with the output
```
diff --git a/pom.xml b/pom.xml
index d094596..a3a6d33 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
nz.ac.waikato.cms.weka
tiny-weka
- 3.9.15956-SNAPSHOT
+ 3.9.3cbb52f21-SNAPSHOT
jar
tiny-weka
diff --git a/update.rev b/update.rev
index 667f6b4..c6ccb41 100644
--- a/update.rev
+++ b/update.rev
@@ -1 +1 @@
-87a3264c:31f46b79
\ No newline at end of file
+31f46b79:3cbb52f21
\ No newline at end of file