IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 11, 2022, 4:58:07 PM (5 years ago)
Author:
eugene
Message:

option to start list -join at a later point, change default in getargs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20211108/Ohana/src/opihi/cmd.basic/getargs.c

    r41978 r41985  
    5353  if (!argmatch) {
    5454    if (varName) {
     55      // default for a boolean is FALSE
     56      // default for a value is to keep an existing value
    5557      if (mode == MODE_BOOL) {
    5658        set_str_variable (varName, "0"); // NOTE: if a local variable with the same name exists, that will be used
    57       } else {
    58         set_str_variable (varName, ""); // NOTE: if a local variable with the same name exists, that will be used
    5959      }
    6060    }
Note: See TracChangeset for help on using the changeset viewer.