pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   // -*- Pike -*-   //   // Master Control Program for Pike.   //   // This file is part of Pike. For copyright information see COPYRIGHT.   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.444 2008/06/24 12:44:46 mast Exp $ + // $Id: master.pike.in,v 1.445 2008/06/28 15:32:29 per Exp $      #pike __REAL_VERSION__   //#pragma strict_types      // Some programs destroys character pairs beginning with the currency   // symbol when running in chinese locale.   #if "ยค/" != "\244/"   #error "master.pike.in is corrupted."   #endif   
pike.git/lib/master.pike.in:3553:    "Available tools:\n");    mapping t = ([]);    int i;    object ts = main_resolv("Tools.Standalone",    get_compilation_handler(compat_major,    compat_minor));    foreach (indices(ts), string s) {    mixed val = ts[s];    if (programp (val)) {    object o = val(); -  if(!o->main) continue; -  t[s] = o->description || ""; +  if(!o->main || !o->description) continue; +  t[s] = o->description;    i = max(i, sizeof(s));    }    }    foreach(sort(indices(t)), string s)    werror(" %-"+i+"s %s\n", s, t[s]);    exit(1);    }    main_resolv("Tools.Hilfe",    get_compilation_handler(compat_major,    compat_minor))->StdinHilfe();