ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/saidar/saidar.c
(Generate patch)

Comparing projects/libstatgrab/src/saidar/saidar.c (file contents):
Revision 1.3 by pajs, Thu Oct 9 16:08:16 2003 UTC vs.
Revision 1.4 by pajs, Thu Oct 9 16:24:19 2003 UTC

# Line 361 | Line 361 | void version_num(char *progname){
361   void usage(char *progname){
362          fprintf(stderr, "Usage: %s [-d delay] [-v] [-h]\n\n", progname);
363          fprintf(stderr, "  -d    Sets the update time in seconds\n");
364 <        fprintf(stderr, "  -v    Prints version number\n");
364 >        fprintf(stderr, "  -v    Prints version number\n");
365          fprintf(stderr, "  -h    Displays this help information.\n");
366          fprintf(stderr, "\nReport bugs to <%s>.\n", PACKAGE_BUGREPORT);
367          exit(1);
# Line 385 | Line 385 | int main(int argc, char **argv){
385  
386          int delay=2;
387  
388 <        while ((c = getopt(argc, argv, "d:")) != EOF){
388 >        while ((c = getopt(argc, argv, "vhd:")) != EOF){
389                  switch (c){
390                          case 'd':
391                                  delay = atoi(optarg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines