- Timestamp:
- 07/31/05 11:15:03 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/reglookup.c
r38 r39 186 186 * routines to replace the Samba code for this. 187 187 */ 188 /*if(cur != NULL)189 free(cur); */188 if(cur != NULL) 189 free(cur); 190 190 } 191 191 } … … 237 237 } 238 238 } 239 free(cur_str); 239 240 240 241 if(!found_cur) … … 273 274 static void usage(void) 274 275 { 275 fprintf(stderr, "Usage: readreg [-f <PREFIX_FILTER>] [-t <TYPE_FILTER>] " 276 "[-v] [-s] <REGISTRY_FILE>\n"); 276 fprintf(stderr, "Usage: readreg [-v] [-s]" 277 " [-f <PREFIX_FILTER>] [-t <TYPE_FILTER>]" 278 " <REGISTRY_FILE>\n"); 277 279 /* XXX: replace version string with Subversion property? */ 278 280 fprintf(stderr, "Version: 0.2\n"); 279 fprintf(stderr, "\n\t-v\t sets verbose mode."); 280 fprintf(stderr, "\n\t-f\t a simple prefix filter."); 281 fprintf(stderr, "\n\t-t\t restrict results to a specific type."); 282 fprintf(stderr, "\n\t-s\t prints security descriptors."); 281 fprintf(stderr, "Options:\n"); 282 fprintf(stderr, "\t-v\t sets verbose mode.\n"); 283 fprintf(stderr, "\t-s\t prints security descriptors.\n"); 284 fprintf(stderr, "\t-f\t restricts output to elements below this path.\n"); 285 fprintf(stderr, "\t-t\t restrict results to a specific data type.\n"); 283 286 fprintf(stderr, "\n"); 284 287 }
Note: See TracChangeset
for help on using the changeset viewer.