FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
list license in fossology More...
Go to the source code of this file.
Functions | |
list_license ($reference_flag, $nomos_flag) | |
Usage () | |
Print Usage statement. More... | |
Variables | |
$PREFIX = "/usr/local/" | |
$sysconfig = "$PREFIX/etc/fossology/" | |
$AllPossibleOpts = "nrh" | |
$reference_flag = 0 | |
$nomos_flag = 0 | |
$Options = getopt($AllPossibleOpts) | |
foreach($Options as $Option=> $OptVal) if(0==$reference_flag &&0==$nomos_flag) | $PG_CONN = DBconnect($sysconfig) |
Usage | ( | ) |
Print Usage statement.
Definition at line 73 of file list_license.php.
foreach ( $Options as $Option=> $OptVal) if (0==$reference_flag &&0==$nomos_flag) $PG_CONN = DBconnect($sysconfig) |
for no any flag scenario, meanning, list all licenses
Definition at line 50 of file list_license.php.