Adding about the license and the version in the program.
authorviric <viriketo@gmail.com>
Sun, 24 Oct 2010 12:56:34 +0200
changeset 7 daa76fbc50aa
parent 6 d33abce98412
child 8 897b154201f8
Adding about the license and the version in the program.
README
pce.c
--- a/README	Sun Oct 24 12:53:28 2010 +0200
+++ b/README	Sun Oct 24 12:56:34 2010 +0200
@@ -1,11 +1,23 @@
-How to build:
+* BUILD
+
 - Have the libusb development package and libraries installed
 - Run "make"
 
 Then you have the program 'pce' which you can run for programming (-s) or
 downloading from the device (-d).
 
+
+* INSTALLATION
+
+Copy the 'pce' program wherever you want.
+
 You will need read-write access to /dev/bus/usb/*/your_device. If you want a bit unsecure but
 easy access to it, you may want to set up an udev rule in your system like this:
 
 SUBSYSTEM=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="0003", MODE:="0666"
+
+
+* LICENSE
+
+The code is licensed on terms of the GPLv3 license or later. Please find the license in the file
+LICENSE distributed with the program.
--- a/pce.c	Sun Oct 24 12:53:28 2010 +0200
+++ b/pce.c	Sun Oct 24 12:56:34 2010 +0200
@@ -241,7 +241,9 @@
 void
 usage()
 {
-    fprintf(stderr, "usage: pce [-n nsamples] [-t timepersample] [-i] <-d downloadfile | -s>\n");
+    fprintf(stderr, "pce v0.1 - PCE-HT71 programmer and data downloader\n");
+    fprintf(stderr, "Copyright (C) 2010  Lluis Batlle i Rossell\n");
+    fprintf(stderr, "usage: pce [-n maxsamples] [-t timepersample] [-i] <-d downloadfile | -s>\n");
 }
 
 int main(int argc, char **argv)