|
|
return 1; | return 1; |
} | } |
| |
const char *Usage = "\ |
const char *Usage = "\n" \ |
Usage: fujiplay [OPTIONS] PICTURES... (download) |
"Usage: fujiplay [OPTIONS] PICTURES... (download) \n" \ |
charge NUMBER (recharge the flash) |
" charge NUMBER (recharge the flash) \n" \ |
shoot (take picture) |
" shoot (take picture) \n" \ |
preview (preview to standard output) |
" preview (preview to standard output) \n" \ |
upload FILES... |
" upload FILES... \n" \ |
delete FILES... |
" delete FILES... \n" \ |
setid STRING (set camera ID) |
" setid STRING (set camera ID) \n" \ |
setflash MODE (0=Off, 1=On, 2=Strobe, 3=Auto) |
" setflash MODE (0=Off, 1=On, 2=Strobe, 3=Auto) \n" \ |
setdate gmt|local|YYYYMMDDHHMMSS |
" setdate gmt|local|YYYYMMDDHHMMSS \n" \ |
Options: |
"Options: \n" \ |
-B NUMBER Set baudrate (115200, 57600, 38400, 19200, 9600 or 0) |
" -B NUMBER Set baudrate (115200, 57600, 38400, 19200, 9600 or 0) \n" \ |
-D DEVICE Select another device file (default is /dev/fujifilm) |
" -D DEVICE Select another device file (default is /dev/fujifilm) \n" \ |
-L List command set |
" -L List command set \n" \ |
-7 DS-7 compatibility mode (experimental) |
" -7 DS-7 compatibility mode (experimental) \n" \ |
-d Delete pictures after successful download |
" -d Delete pictures after successful download \n" \ |
-f Force (overwrite existing files) |
" -f Force (overwrite existing files) \n" \ |
-p Assume picture numbers instead of frame numbers |
" -p Assume picture numbers instead of frame numbers \n" \ |
-h Display this help message |
" -h Display this help message \n" \ |
-v Version information |
" -v Version information \n" \ |
Pictures: |
"Pictures: \n" \ |
all All pictures |
" all All pictures \n" \ |
last Last picture |
" last Last picture \n" \ |
4 Only picture 4 |
" 4 Only picture 4 \n" \ |
2-10 Pictures between 2 and 10 |
" 2-10 Pictures between 2 and 10 \n" \ |
Files: |
"Files: \n" \ |
DSCxxxxx.JPG Files to delete or to upload into the camera |
" DSCxxxxx.JPG Files to delete or to upload into the camera \n"; |
"; |
|
|
const char *Copyright = "\n" \ |
const char *Copyright = "\ |
"Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $\n" \ |
Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $ |
"Written by Thierry Bousch <bousch@topo.math.u-psud.fr>\n" \ |
Written by Thierry Bousch <bousch@topo.math.u-psud.fr> |
"Public domain. Absolutely no warranty.\n"; |
Public domain. Absolutely no warranty. |
|
"; |
|
| |
static void sigint_handler (int sig) | static void sigint_handler (int sig) |
{ | { |