IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 5, 2008, 12:41:58 PM (18 years ago)
Author:
bills
Message:

Get configuration dump file name from command line option. If no file
is provided, no dump is created

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageArguments.c

    r18895 r19399  
    132132    }
    133133
     134    if ((argnum = psArgumentGet(argc, argv, "-dumpconfig"))) {
     135        psArgumentRemove(argnum, &argc, argv);
     136        psMetadataAddStr(config->arguments, PS_LIST_TAIL, "DUMP_CONFIG", PS_META_REPLACE,
     137                         "Filename for configuration dump", argv[argnum]);
     138        psArgumentRemove(argnum, &argc, argv);
     139    }
     140
    134141    if (argc != 2) usage ();
    135142
Note: See TracChangeset for help on using the changeset viewer.