View | Details | Raw Unified | Return to ticket 950
Collapse All | Expand All

(-)a/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c (-3 / +4 lines)
Lines 299-305 static int _set_options(const int argc, char **argv) Link Here
299
299
300
	_init_opts();
300
	_init_opts();
301
301
302
	while ((cc = getopt_long(argc, argv, "d:Ehi:Ij:l:N:o:p:s:S:uUvV",
302
	while ((cc = getopt_long(argc, argv, "d:Ehi:Ij:l:N:o:p:s:S:u:UvV",
303
	                         long_options, &option_index)) != EOF) {
303
	                         long_options, &option_index)) != EOF) {
304
		switch (cc) {
304
		switch (cc) {
305
			case 'd':
305
			case 'd':
Lines 351-361 static int _set_options(const int argc, char **argv) Link Here
351
				params.keepfiles = 1;
351
				params.keepfiles = 1;
352
				break;
352
				break;
353
			case 'u':
353
			case 'u':
354
				u = atoi(optarg);
355
				if (uid_from_string(optarg, &u) < 0) {
354
				if (uid_from_string(optarg, &u) < 0) {
356
					error("No such user --uid=\"%s\"", optarg);
355
					error("No such user --user=\"%s\"",
356
					      optarg);
357
					return -1;
357
					return -1;
358
				}
358
				}
359
				params.user = uid_to_string(u);
359
				break;
360
				break;
360
			case 'U':
361
			case 'U':
361
				_help_msg();
362
				_help_msg();

Return to ticket 950