IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40521 for trunk


Ignore:
Timestamp:
Aug 26, 2018, 9:58:52 AM (8 years ago)
Author:
eugene
Message:

add usage info

Location:
trunk/Ohana/src/opihi/cmd.basic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/strmatch.c

    r37049 r40521  
    1818  if (argc != 3) {
    1919    gprint (GP_ERR, "USAGE: strchr (string) (class) [-output start length]\n");
     20    gprint (GP_ERR, "  return start and end position of given character class (alpha, upper, lower, float, int)\n");
    2021    return (FALSE);
    2122  }
  • trunk/Ohana/src/opihi/cmd.basic/strpop.c

    r8189 r40521  
    77  if ((argc != 2) && (argc != 3)) {
    88    gprint (GP_ERR, "USAGE: strpop (var) [out]\n");
     9    gprint (GP_ERR, "   return the first word from the given variable, leaving behind the remaining words\n");
    910    return (FALSE);
    1011  }
Note: See TracChangeset for help on using the changeset viewer.