<verbatim>
$ mkdir test
$ cd test
$ fossil init test
project-id:
server-id:
admin-user: joerg (initial password is "484064")
$ fossil sqlite3 test
fossil: use --repository or -R to specify the repository database
$ fossil sqlite3 -R test test2
SQLite version 3.7.4
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> vacuum;
sqlite> .quit
$ ls
test  test2
</verbatim>

The -R should not be required and either not be accepted or complain if given both a repository as positional argument and via -R.

It would be nice if it accepted SQL commands as command line parameter like the standalone sqlite3 command. Handling EOF as implicit ; would be another minor improvement.