- Timestamp:
- Jun 20, 2008, 3:25:34 PM (13 years ago)
- Location:
- neercs/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/effects.c
r2467 r2468 297 297 *resp = aresp; 298 298 return (PAM_SUCCESS); 299 300 299 } 301 300 … … 390 389 (s->orig_y * r) + 391 390 ((s->orig_h/2) - s->h/2); 392 393 391 } 394 392 -
neercs/trunk/src/main.c
r2466 r2468 64 64 } 65 65 66 void usage(int argc, char **argv) 67 { 68 printf("%s\n", PACKAGE_STRING); 69 printf("Usage : %s [command1] [command2] ... [commandN]\n", argv[0]); 70 printf("Example : %s zsh top \n\n", argv[0]); 71 printf("Options :\n"); 72 printf("\t--pid\t\t-P <pid>\t\tattach <pid>\n"); 73 printf("\t--version\t-v \t\t\tdisplay version and exit\n"); 74 printf("\t--help\t\t-h \t\t\tthis help\n"); 75 } 66 76 67 77 int main(int argc, char **argv) … … 182 192 break; 183 193 case 'h': /* --help */ 184 //usage(argc, argv);194 usage(argc, argv); 185 195 return 0; 186 196 break; -
neercs/trunk/src/neercs.h
r2463 r2468 115 115 116 116 void version(void); 117 void usage(int argc, char **argv); 117 118 118 119
Note: See TracChangeset
for help on using the changeset viewer.