Permalink
Browse files

show command line in readme, update version

  • Loading branch information...
1 parent 387bdeb commit aae74a498cdb6c7262f12ff9951faf6a9302ca36 @omphalos committed Aug 3, 2012
Showing with 10 additions and 5 deletions.
  1. +8 −3 README.md
  2. +1 −1 bin/crud-file-server
  3. +1 −1 package.json
View
@@ -7,10 +7,15 @@ Command-line usage
This starts a file server using the specified command-line options.
- -f file system path to expose over http
- -p port to listen on (example, 85)
- -q suppress the help message
+ -f file system path to expose over http
+ -p port to listen on (example, 80)
+ -v virtual path to host the file server on
+ -q suppress this message
+
+Example:
+ crud-file-server -f c:/ -p 8080 -v filez -q
+
Server-Side Usage
=================
View
@@ -18,7 +18,7 @@ if(!argv.q) {
console.log('');
console.log('example:');
console.log('');
- console.log(' crud-file-server -f c:\tmp -p 8080 -v filez -q');
+ console.log(' crud-file-server -f c:/ -p 8080 -v filez -q');
console.log('');
}
View
@@ -1,6 +1,6 @@
{
"name": "crud-file-server",
- "version": "0.0.5",
+ "version": "0.0.6",
"description": "file server supporting basic create, read, update, & delete for any kind of file",
"bin": {
"crud-file-server": "./bin/crud-file-server"

0 comments on commit aae74a4

Please sign in to comment.