Changeset 18919
- Timestamp:
- Aug 5, 2008, 11:28:13 AM (18 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
pzgetexp.c (modified) (1 diff)
-
pzgetexpConfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pzgetexp.c
r18762 r18919 76 76 //optional 77 77 PXOPT_LOOKUP_S32(timeout, config->args, "-timeout", false, false); 78 PXOPT_LOOKUP_BOOL(all, config->args, "-all", false); 78 79 79 80 // find last fileset/exp_name (if we have one) 80 81 bool haveLastFileSet = false; 81 82 psString lastFileSet = NULL; 82 { 83 84 // -all means "request all known filesets" 85 if (!all) { 83 86 char *query = "SELECT * from summitExp WHERE camera = \"%s\" and TELESCOPE = \"%s\" ORDER BY dateobs DESC LIMIT 1"; 84 87 if (!p_psDBRunQuery(config->dbh, query, camera, telescope)) { -
trunk/ippTools/src/pzgetexpConfig.c
r18762 r18919 2 2 * pzgetexpConfig.c 3 3 * 4 * Copyright (C) 2006 Joshua Hoblitt4 * Copyright (C) 2006-2008 Joshua Hoblitt 5 5 * 6 6 * This program is free software; you can redistribute it and/or modify it … … 53 53 psMetadataAddS32(args, PS_LIST_TAIL, "-timeout", 0, 54 54 "HTTP timeout", 0); 55 psMetadataAddBool(args, PS_LIST_TAIL, "-all", 0, 56 "download ALL filesets", 0); 55 57 56 58
Note:
See TracChangeset
for help on using the changeset viewer.
