Changeset 23586 for trunk/Ohana
- Timestamp:
- Mar 29, 2009, 1:48:30 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/job.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/job.c
r23554 r23586 11 11 return (FALSE); 12 12 } 13 14 if (get_argument (argc, argv, "-h")) goto usage; 15 if (get_argument (argc, argv, "-help")) goto usage; 16 if (get_argument (argc, argv, "--help")) goto usage; 13 17 14 18 Host = NULL; … … 36 40 37 41 if (argc < 2) { 38 gprint (GP_ERR, "USAGE: job [options] (arg0) (arg1) ... (argN)\n");39 gprint (GP_ERR, " arguments of the form @MAX_THREADS@ will be replaced when the job is launched\n");40 42 FREE (Host); 41 return (FALSE);43 goto usage; 42 44 } 43 45 … … 52 54 gprint (GP_LOG, "JobID: %d\n", (int) JobID); 53 55 return (TRUE); 56 57 usage: 58 gprint (GP_ERR, "USAGE: job [options] (arg0) (arg1) ... (argN)\n"); 59 gprint (GP_ERR, " options: -host, +host, -timeout\n"); 60 gprint (GP_ERR, " arguments of the form @MAX_THREADS@ will be replaced when the job is launched\n"); 61 return (FALSE); 54 62 }
Note:
See TracChangeset
for help on using the changeset viewer.
